ensure shared dlls are exporting zlib symbols
parent
77d710bc64
commit
011ec086ca
|
@ -966,6 +966,9 @@ ELSE()
|
||||||
FIND_PACKAGE(ZLIB)
|
FIND_PACKAGE(ZLIB)
|
||||||
INCLUDE_DIRECTORIES(${ZLIB_INCLUDE_DIR})
|
INCLUDE_DIRECTORIES(${ZLIB_INCLUDE_DIR})
|
||||||
ELSE()
|
ELSE()
|
||||||
|
IF( BUILD_SHARED_LIBS)
|
||||||
|
ADD_DEFINITIONS(-DZLIB_DLL)
|
||||||
|
ENDIF()
|
||||||
MESSAGE(STATUS "compiling zlib from sources")
|
MESSAGE(STATUS "compiling zlib from sources")
|
||||||
SET( zlib_SRCS
|
SET( zlib_SRCS
|
||||||
../contrib/zlib/crc32.h
|
../contrib/zlib/crc32.h
|
||||||
|
|
Loading…
Reference in New Issue