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

[master] In CMakeLists.txt, add "-DPNG_CONFIGURE_LIBPNG" to the definitions.

上级 71f29b70
......@@ -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
......
......@@ -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
......
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册