From: Thomas Geymayer Date: Sun, 18 May 2014 15:46:50 +0000 (+0200) Subject: Enable dynamic linking on Mac for Boost.Test X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a9e7af6e6eed0713f45e6f8659acfc57af378eda;p=simgear.git Enable dynamic linking on Mac for Boost.Test --- diff --git a/CMakeModules/BoostTestTargets.cmake b/CMakeModules/BoostTestTargets.cmake index a74a5504..2d4e4f94 100644 --- a/CMakeModules/BoostTestTargets.cmake +++ b/CMakeModules/BoostTestTargets.cmake @@ -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)