Only use Boost dynamic auto-linking flag on Windows

release/4.3a0
Richard Roberts 2013-06-04 13:37:12 +00:00
parent 9c61d15fb1
commit 045a3d281f
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ endif()
# Find boost
# 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)
endif()