[master] In CMakeLists.txt, add "-DPNG_CONFIGURE_LIBPNG" to the definitions.
This commit is contained in:
parent
71f29b701d
commit
edc3994cfd
1
ANNOUNCE
1
ANNOUNCE
@ -144,6 +144,7 @@ version 1.2.41beta16 [November 9, 2009]
|
|||||||
Only #define PNG_DEPSTRUCT, etc. in pngconf.h if not already defined.
|
Only #define PNG_DEPSTRUCT, etc. in pngconf.h if not already defined.
|
||||||
|
|
||||||
version 1.2.41beta17 [November 9, 2009]
|
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
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
|
|
||||||
|
1
CHANGES
1
CHANGES
@ -2575,6 +2575,7 @@ version 1.2.41beta16 [November 9, 2009]
|
|||||||
Only #define PNG_DEPSTRUCT, etc. in pngconf.h if not already defined.
|
Only #define PNG_DEPSTRUCT, etc. in pngconf.h if not already defined.
|
||||||
|
|
||||||
version 1.2.41beta17 [November 9, 2009]
|
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
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
@ -116,6 +116,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)
|
||||||
|
Reference in New Issue
Block a user