We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4001ebc commit 19c3b2dCopy full SHA for 19c3b2d
CMakeLists.txt
@@ -22,6 +22,8 @@ IF (APPLE)
22
SET(CMAKE_MACOSX_RPATH 1)
23
ENDIF()
24
25
+SET(CMAKE_BUILD_TYPE RelWithDebInfo)
26
+
27
### Platform checks
28
INCLUDE(${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake)
29
INCLUDE(${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake)
ext/zlib/CMakeLists.txt
@@ -103,6 +103,7 @@ IF (NOT ZLIB_FOUND)
103
# this will duplicate so delete it
104
FILE(REMOVE ${ZLIB_SRC_DIR}/zconf.h)
105
# CMake add C_FLAGS to RC_FLAGS. how stupid it is, eh?
106
+ SET(ZLIB_BUILD_EXAMPLES OFF) # disable example build, we don't need it
107
ADD_SUBDIRECTORY(${ZLIB_SRC_DIR} zlib)
108
INCLUDE_DIRECTORIES(${ZLIB_SRC_DIR})
109
# for zconf.h
0 commit comments