mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-16 02:11:47 +08:00
fix RelWithDebInfo build
This commit is contained in:
parent
39b6df8f4a
commit
8aaaeaf9de
@ -255,6 +255,8 @@ if(NOT WIN32)
|
||||
set(MINIMUM_BOOST_VERSION "1.64.0")
|
||||
endif()
|
||||
find_package(Boost ${MINIMUM_BOOST_VERSION} REQUIRED COMPONENTS system filesystem thread log locale regex)
|
||||
# boost compile only in release & debug. We have to force the release version for RELWITHDEBINFO compilation
|
||||
set_target_properties(${Boost_LIBRARIES} PROPERTIES MAP_IMPORTED_CONFIG_RELWITHDEBINFO RELEASE)
|
||||
|
||||
add_library(boost_libs INTERFACE)
|
||||
add_library(boost_headeronly INTERFACE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user