diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index 36c112c64..5df6a8784 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -974,6 +974,7 @@ ELSE() ADD_DEFINITIONS(-DZLIB_DLL) ENDIF() MESSAGE(STATUS "compiling zlib from sources") + configure_file(../contrib/zlib/zconf.h.cmakein ${CMAKE_CURRENT_BINARY_DIR}/zconf.h @ONLY) SET( zlib_SRCS ../contrib/zlib/crc32.h ../contrib/zlib/deflate.h