]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MICROCERN/CMakeLists.txt
Resolving the symbols in each library
[u/mrichter/AliRoot.git] / MICROCERN / CMakeLists.txt
index 080b264dd71f6cc12d3a8fb396f270a711930022..e855e35c7a16442ab585d9370a9db81e583fff04 100644 (file)
@@ -61,6 +61,15 @@ endif(${CMAKE_SYSTEM} MATCHES Darwin)
 # Headers from sources
 #string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
 
+# System dependent definitions
+
+if(${CMAKE_SYSTEM} MATCHES Darwin)
+    add_definitions(-DCERNLIB_LXIA64 -DCERNLIB_BLDLIB -DCERNLIB_CZ -DCERNLIB_PPC)
+endif(${CMAKE_SYSTEM} MATCHES Darwin)
+if(${CMAKE_SYSTEM} MATCHES Linux)
+    add_definitions(-DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ)
+endif(${CMAKE_SYSTEM} MATCHES Linux)
+
 # Generate the dictionary
 # It will create G_ARG1.cxx and G_ARG1.h / ARG1 = function first argument
 #get_directory_property(incdirs INCLUDE_DIRECTORIES)