]> git.mxchange.org Git - simgear.git/commitdiff
Enable dynamic linking on Mac for Boost.Test
authorThomas Geymayer <tomgey@gmail.com>
Sun, 18 May 2014 15:46:50 +0000 (17:46 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Sun, 18 May 2014 15:47:03 +0000 (17:47 +0200)
CMakeModules/BoostTestTargets.cmake

index a74a55040d28a257679f775d79287d1e31c6c95f..2d4e4f947c75c5f0db6900d7d0e7ed91ea707a50 100644 (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)