From 69b0bc089a0cbdd59b8e8f510d298761b8526992 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Sat, 7 Nov 2009 12:02:48 -0600 Subject: [PATCH] [devel] Updated CMakeLists.txt to add "-DPNG_CONFIGURE_LIBPNG" to definitions. --- ANNOUNCE | 1 + CHANGES | 1 + CMakeLists.txt | 3 +++ 3 files changed, 5 insertions(+) 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)