Only use Boost dynamic auto-linking flag on Windows
parent
9c61d15fb1
commit
045a3d281f
|
@ -100,7 +100,7 @@ endif()
|
||||||
# Find boost
|
# Find boost
|
||||||
|
|
||||||
# If using Boost shared libs, set up auto linking for shared libs
|
# If using Boost shared libs, set up auto linking for shared libs
|
||||||
if(NOT Boost_USE_STATIC_LIBS)
|
if(MSVC AND NOT Boost_USE_STATIC_LIBS)
|
||||||
add_definitions(-DBOOST_ALL_DYN_LINK)
|
add_definitions(-DBOOST_ALL_DYN_LINK)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue