build: Mark the installed libpng headers as system headers in CMake

Modern compilers can disable the warnings that originate from system
headers. This change allows them to do so with the libpng headers.

Signed-off-by: Cosmin Truta <ctruta@gmail.com>
This commit is contained in:
Benjamin Buch
2024-02-21 19:06:33 +01:00
committed by Cosmin Truta
parent 14a348ddc8
commit 7b888092b9
2 changed files with 10 additions and 12 deletions

View File

@@ -7,6 +7,7 @@ Author List
* Alex Gaynor
* Andreas Franek
* B. Scott Michel
* Benjamin Buch
* Cameron Cawley
* Christian Ehrlicher
* Christopher Sean Morrison