]> Creatis software - creaMaracasVisu.git/blobdiff - CMakeLists.txt
*** empty log message ***
[creaMaracasVisu.git] / CMakeLists.txt
index e58ea0b7fff86b826ded7b85e6b1a026b1061b80..7a8b9d0c5204a58f1319dfd8af2853ad9caa9ebe 100644 (file)
@@ -44,6 +44,24 @@ MARK_AS_ADVANCED(
   LIBRARY_OUTPUT_PATH
   )
 
+IF (WIN32)
+  SET(CREAMARACASVISU_LIB_PATH bin)
+ELSE (WIN32)
+       if( NOT APPLE )
+               # check 64 bit
+               if( ${CMAKE_SIZEOF_VOID_P} EQUAL 4 )
+                       set( HAVE_64_BIT 0 )
+                       SET(CREAMARACASVISU_LIB_PATH lib)
+               else( ${CMAKE_SIZEOF_VOID_P}EQUAL 4 )
+                       set( HAVE_64_BIT 1 )
+                       SET(CREAMARACASVISU_LIB_PATH lib64)
+               endif( ${CMAKE_SIZEOF_VOID_P} EQUAL 4 )
+        endif( NOT APPLE )
+ENDIF(WIN32)
+
+
+
+
 SUBDIRS(install)
 #SUBDIRS(appli)
 SUBDIRS(lib)