X-Git-Url: http://woldlab.caltech.edu/gitweb/?a=blobdiff_plain;f=makelib%2FPlatform.cmake;fp=makelib%2FPlatform.cmake;h=b5b2a806d3b2e72b94dc0273c56bbae2202ae4b8;hb=0cfc7ea27ab6fcf65c7caeaa320f8b20769ce610;hp=ee55fec828372bc7135e3ceb92e65f713ea2187d;hpb=5368304f53c942cf17ae0f24736b44335c09010a;p=mussa.git diff --git a/makelib/Platform.cmake b/makelib/Platform.cmake index ee55fec..b5b2a80 100644 --- a/makelib/Platform.cmake +++ b/makelib/Platform.cmake @@ -18,6 +18,9 @@ ENDIF(PYTHONINTERP_FOUND) MACRO(GET_MUSSA_COMPILE_FLAGS) SET(${return} "") + # this define is needed for linking against the shared + # library version of the boost unit test framework version 1.34.1 + ADD_DEFINITIONS("-DBOOST_TEST_DYN_LINK") IF(APPLE) ADD_DEFINITIONS("-isysroot /Developer/SDKS/MacOSX10.4u.sdk -arch ppc -arch i386 -I/usr/local/include") ENDIF(APPLE)