Skip to content

Commit

Permalink
Build zlib always with release mode. Aplicable to MSVC.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Dec 11, 2024
1 parent 9d2a820 commit afcdf78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ZlibConfig.cmake
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
configure_file(CMakeLists.txt.zlib zlib/CMakeLists.txt)
execute_process(COMMAND ${CMAKE_COMMAND} -G ${CMAKE_GENERATOR} .
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/zlib)
execute_process(COMMAND ${CMAKE_COMMAND} --build .
execute_process(COMMAND ${CMAKE_COMMAND} --build . --config Release
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/zlib )

set(ZLIB_ROOT ${CMAKE_CURRENT_BINARY_DIR}/zlib/install)
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/zlib/install/include)
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/zlib/install/include)

0 comments on commit afcdf78

Please sign in to comment.