[libpng16] Add ${INCLUDES} in scripts/genout.cmake.in (Bug report by Nixon Kwok).

This commit is contained in:
Glenn Randers-Pehrson
2016-02-16 14:38:28 -06:00
parent 1099cdcb5a
commit 0348a407e5
3 changed files with 8 additions and 5 deletions

View File

@@ -48,6 +48,7 @@ if ("${INPUTEXT}" STREQUAL ".c" AND "${OUTPUTEXT}" STREQUAL ".out")
${CMAKE_C_FLAGS}
"-I${SRCDIR}"
"-I${BINDIR}"
${INCLUDES}
"-DPNGLIB_LIBNAME=PNG${PNGLIB_MAJOR}${PNGLIB_MINOR}_0"
"-DPNGLIB_VERSION=${PNGLIB_VERSION}"
"-DSYMBOL_PREFIX=${SYMBOL_PREFIX}"