[devel] Updated CMakeLists.txt to add "-DPNG_CONFIGURE_LIBPNG" to definitions.

This commit is contained in:
Glenn Randers-Pehrson 2009-11-07 12:02:48 -06:00
parent 0dd4a43f49
commit 69b0bc089a
3 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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)