[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

@ -144,6 +144,7 @@ version 1.2.41beta16 [November 9, 2009]
Only #define PNG_DEPSTRUCT, etc. in pngconf.h if not already defined. Only #define PNG_DEPSTRUCT, etc. in pngconf.h if not already defined.
version 1.2.41beta17 [November 9, 2009] version 1.2.41beta17 [November 9, 2009]
Updated CMakeLists.txt to add "-DPNG_CONFIGURE_LIBPNG" to the definitions.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net

View File

@ -2575,6 +2575,7 @@ version 1.2.41beta16 [November 9, 2009]
Only #define PNG_DEPSTRUCT, etc. in pngconf.h if not already defined. Only #define PNG_DEPSTRUCT, etc. in pngconf.h if not already defined.
version 1.2.41beta17 [November 9, 2009] version 1.2.41beta17 [November 9, 2009]
Updated CMakeLists.txt to add "-DPNG_CONFIGURE_LIBPNG" to the definitions.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit

View File

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