提交 69b0bc08 编写于 作者: G Glenn Randers-Pehrson

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

上级 0dd4a43f
...@@ -636,6 +636,7 @@ version 1.4.0beta93 [November 7, 2009] ...@@ -636,6 +636,7 @@ version 1.4.0beta93 [November 7, 2009]
version 1.4.0beta94 [November 7, 2009] version 1.4.0beta94 [November 7, 2009]
Removed the obsolete, unused pnggccrd.c and pngvcrd.c files. 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 Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit
......
...@@ -2322,6 +2322,7 @@ version 1.4.0beta93 [November 7, 2009] ...@@ -2322,6 +2322,7 @@ version 1.4.0beta93 [November 7, 2009]
version 1.4.0beta94 [November 7, 2009] version 1.4.0beta94 [November 7, 2009]
Removed the obsolete, unused pnggccrd.c and pngvcrd.c files. 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 Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit
......
...@@ -117,6 +117,9 @@ set(pngtest_sources ...@@ -117,6 +117,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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册