mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 02:31:09 +00:00
Don't use static boost libs with conda build
This commit is contained in:
@@ -106,8 +106,9 @@ MACRO(SET_INSTALL_RPATHS _target _paths)
|
|||||||
SET_TARGET_PROPERTIES(${_target} PROPERTIES INSTALL_RPATH "${${_target}_rpaths}")
|
SET_TARGET_PROPERTIES(${_target} PROPERTIES INSTALL_RPATH "${${_target}_rpaths}")
|
||||||
ENDMACRO()
|
ENDMACRO()
|
||||||
|
|
||||||
# Find Boost
|
# Find Boost: On win32 the (hardcoded) default is to use static libraries and
|
||||||
IF(WIN32)
|
# runtime, when doing running conda-build we pick what conda prepared for us.
|
||||||
|
IF(WIN32 AND ("$ENV{CONDA_BUILD}" STREQUAL ""))
|
||||||
SET(Boost_USE_STATIC_LIBS ON)
|
SET(Boost_USE_STATIC_LIBS ON)
|
||||||
SET(Boost_USE_STATIC_RUNTIME ON)
|
SET(Boost_USE_STATIC_RUNTIME ON)
|
||||||
SET(Boost_USE_MULTITHREADED ON)
|
SET(Boost_USE_MULTITHREADED ON)
|
||||||
|
|||||||
Reference in New Issue
Block a user