[boost] Fix zlib detection in debug build

This commit is contained in:
Manuel Massing 2017-01-09 11:03:56 +01:00
parent 9b8afccc9d
commit a3aeb99092

View File

@ -31,9 +31,7 @@ endif()
message(STATUS "Bootstrapping done")
set(B2_OPTIONS
-sZLIB_BINARY=zlib
-sZLIB_INCLUDE="${CURRENT_INSTALLED_DIR}\\include"
-sZLIB_LIBPATH="${CURRENT_INSTALLED_DIR}\\lib"
-sNO_BZIP2=1
-j$ENV{NUMBER_OF_PROCESSORS}
--debug-configuration
@ -65,12 +63,15 @@ if(VCPKG_CMAKE_SYSTEM_NAME MATCHES "WindowsStore")
endif()
# Add build type specific options
set(B2_OPTIONS_DBG
${B2_OPTIONS}
set(B2_OPTIONS_DBG
${B2_OPTIONS}
-sZLIB_BINARY=zlibd
-sZLIB_LIBPATH="${CURRENT_INSTALLED_DIR}\\debug\\lib"
)
set(B2_OPTIONS_REL
${B2_OPTIONS}
set(B2_OPTIONS_REL
${B2_OPTIONS}
-sZLIB_BINARY=zlib
-sZLIB_LIBPATH="${CURRENT_INSTALLED_DIR}\\lib"
)