[devel] Updated CMakeLists.txt to add "-DPNG_CONFIGURE_LIBPNG" to definitions.

This commit is contained in:
Glenn Randers-Pehrson
2009-11-07 12:02:48 -06:00
parent 0dd4a43f49
commit 69b0bc089a
3 changed files with 5 additions and 0 deletions

View File

@@ -117,6 +117,9 @@ set(pngtest_sources
pngtest.c
)
# SOME NEEDED DEFINITIONS
add_definitions(-DPNG_CONFIGURE_LIBPNG)
if(MSVC)
add_definitions(-DPNG_NO_MODULEDEF -D_CRT_SECURE_NO_DEPRECATE)
endif(MSVC)