mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-04 00:50:36 +08:00
Update CMakeLists.txt
This commit is contained in:
parent
caec790c9a
commit
1b3cfac8b8
@ -256,7 +256,9 @@ if(NOT WIN32)
|
|||||||
endif()
|
endif()
|
||||||
find_package(Boost ${MINIMUM_BOOST_VERSION} REQUIRED COMPONENTS system filesystem thread log locale regex)
|
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
|
# 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)
|
if (MSVC)
|
||||||
|
set_target_properties(${Boost_LIBRARIES} PROPERTIES MAP_IMPORTED_CONFIG_RELWITHDEBINFO RELEASE)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_library(boost_libs INTERFACE)
|
add_library(boost_libs INTERFACE)
|
||||||
add_library(boost_headeronly INTERFACE)
|
add_library(boost_headeronly INTERFACE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user