[master] In CMakeLists.txt, add "-DPNG_CONFIGURE_LIBPNG" to the definitions.

This commit is contained in:
Glenn Randers-Pehrson
2009-11-09 07:18:26 -06:00
parent 71f29b701d
commit edc3994cfd
3 changed files with 5 additions and 0 deletions

View File

@@ -116,6 +116,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)