Enable dynamic linking on Mac for Boost.Test

This commit is contained in:
Thomas Geymayer
2014-05-18 17:46:50 +02:00
parent c967fbc0a6
commit a9e7af6e6e

View File

@@ -77,9 +77,7 @@ if(Boost_FOUND AND NOT "${Boost_VERSION}0" LESS "1034000")
if(Boost_USE_STATIC_LIBS)
set(_boostConfig "BoostTestTargetsStatic.h")
else()
if(NOT APPLE)
set(_boostConfig "BoostTestTargetsDynamic.h")
endif()
set(_boostConfig "BoostTestTargetsDynamic.h")
endif()
endif()
get_filename_component(_moddir ${CMAKE_CURRENT_LIST_FILE} PATH)