]> Creatis software - crea.git/blobdiff - cmake/CREAMacro_Define.cmake
Clean up useless warnings
[crea.git] / cmake / CREAMacro_Define.cmake
index b88e0382d25e6c822303a8cc459b50d612eddec0..17b538003e46d970e4a4c040181d4892e896b4fc 100644 (file)
@@ -57,11 +57,21 @@ MACRO(CREA_DEFINE_OPERATING_SYSTEM )
       # check 64 bit
       if( ${CMAKE_SIZEOF_VOID_P} EQUAL 4 )
         set( HAVE_64_BIT 0 )
-        SET(CMAKE_CREA_LIB_PATH lib)
+        SET(CMAKE_CREA_LIB_PATH lib/creatools)
       else( ${CMAKE_SIZEOF_VOID_P}EQUAL 4 )
         set( HAVE_64_BIT 1 )
-        SET(CMAKE_CREA_LIB_PATH lib64)
+        SET(CMAKE_CREA_LIB_PATH lib64/creatools)
       endif( ${CMAKE_SIZEOF_VOID_P} EQUAL 4 )
+    else ( NOT APPLE )
+        SET(CMAKE_CREA_LIB_PATH lib/creatools)
+
+      if( ${CMAKE_SIZEOF_VOID_P} EQUAL 4 )
+        message("EED crea definitions  --------APPLE------------ 64 0")
+      else( ${CMAKE_SIZEOF_VOID_P}EQUAL 4 )
+        message("EED crea definitions  --------APPLE------------ 64 1")
+      endif( ${CMAKE_SIZEOF_VOID_P} EQUAL 4 )
+
+
     endif( NOT APPLE )
   ENDIF(WIN32)