]> Creatis software - creaMaracasVisu.git/commitdiff
Fixed error on lib install destination on linux
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Tue, 27 Jan 2009 09:26:58 +0000 (09:26 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Tue, 27 Jan 2009 09:26:58 +0000 (09:26 +0000)
lib/maracasVisuLib/CMakeLists.txt

index b3882d4c40d539c76872817140d7fa6b25d1e590..acd08ba1ec572aa736a333ee587cfeb58e984b1a 100644 (file)
@@ -271,9 +271,15 @@ INSTALL(
   FILES ${${LIBRARY_NAME}_HEADERS}
   DESTINATION ${${LIBRARY_NAME}_INSTALL_TREE_RELATIVE_INCLUDE_PATHS}
   ) 
-INSTALL(
-  TARGETS ${LIBRARY_NAME}
-  DESTINATION bin )
+IF(WIN32)      
+  INSTALL(
+    TARGETS ${LIBRARY_NAME}
+    DESTINATION bin)
+ELSE(WIN32)
+  INSTALL(
+    TARGETS ${LIBRARY_NAME}
+    DESTINATION lib)
+ENDIF(WIN32)