diff --git a/ANNOUNCE b/ANNOUNCE index 0b9bec855..e63396ab4 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -636,6 +636,7 @@ version 1.4.0beta93 [November 7, 2009] version 1.4.0beta94 [November 7, 2009] Removed the obsolete, unused pnggccrd.c and pngvcrd.c files. + 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/CHANGES b/CHANGES index e9655e21d..61a21e38f 100644 --- a/CHANGES +++ b/CHANGES @@ -2322,6 +2322,7 @@ version 1.4.0beta93 [November 7, 2009] version 1.4.0beta94 [November 7, 2009] Removed the obsolete, unused pnggccrd.c and pngvcrd.c files. + 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 df221f026..0622e22ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)