diff --git a/ANNOUNCE b/ANNOUNCE index 1beab6e70239df5ebc470afdc15105d2221c44d5..404f67af522c7be24eb9b9fdd9251598cbf2a4aa 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -144,6 +144,7 @@ version 1.2.41beta16 [November 9, 2009] Only #define PNG_DEPSTRUCT, etc. in pngconf.h if not already defined. 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 diff --git a/CHANGES b/CHANGES index 524c5cefa86564fc3873348b507bec963afb3d33..da3a6434e5c2f09ada8c5826a64e23df020ad53c 100644 --- a/CHANGES +++ b/CHANGES @@ -2575,6 +2575,7 @@ version 1.2.41beta16 [November 9, 2009] Only #define PNG_DEPSTRUCT, etc. in pngconf.h if not already defined. 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 (subscription required; visit diff --git a/CMakeLists.txt b/CMakeLists.txt index ea48c97501f7f20522bc75c4772cc0705600a38c..13f396b4747386bc8f98af631967664834393c37 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)