projects
/
mussa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
to make it easier to build under os x 10.5, stop making the ppc/i386
[mussa.git]
/
makelib
/
Platform.cmake
diff --git
a/makelib/Platform.cmake
b/makelib/Platform.cmake
index ee55fec828372bc7135e3ceb92e65f713ea2187d..4506c5f35345f174a10a8bd89b97aa6c2424d7b5 100644
(file)
--- a/
makelib/Platform.cmake
+++ b/
makelib/Platform.cmake
@@
-18,8
+18,11
@@
ENDIF(PYTHONINTERP_FOUND)
MACRO(GET_MUSSA_COMPILE_FLAGS)
SET(${return} "")
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)
IF(APPLE)
- ADD_DEFINITIONS("-isysroot /Developer/SDKS/MacOSX10.4u.sdk -arch ppc -arch i386 -I/usr/local/include")
+
#
ADD_DEFINITIONS("-isysroot /Developer/SDKS/MacOSX10.4u.sdk -arch ppc -arch i386 -I/usr/local/include")
ENDIF(APPLE)
IF (UNIX AND NOT WIN32)
IF (CMAKE_SIZEOF_VOID_P MATCHES "8")
ENDIF(APPLE)
IF (UNIX AND NOT WIN32)
IF (CMAKE_SIZEOF_VOID_P MATCHES "8")
@@
-33,7
+36,7
@@
MACRO(GET_MUSSA_LINK_FLAGS return)
IF(APPLE)
SET(${return}
${${return}}
IF(APPLE)
SET(${return}
${${return}}
- "-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386"
+
#
"-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386"
)
ENDIF(APPLE)
ENDMACRO(GET_MUSSA_LINK_FLAGS)
)
ENDIF(APPLE)
ENDMACRO(GET_MUSSA_LINK_FLAGS)