From: jean-pierre roux Date: Tue, 27 Jan 2009 09:26:58 +0000 (+0000) Subject: Fixed error on lib install destination on linux X-Git-Tag: EED.02Oct2009~127 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=c2e083ae4e341cf549e5121dcb5bf238029ab710;p=creaMaracasVisu.git Fixed error on lib install destination on linux --- diff --git a/lib/maracasVisuLib/CMakeLists.txt b/lib/maracasVisuLib/CMakeLists.txt index b3882d4..acd08ba 100644 --- a/lib/maracasVisuLib/CMakeLists.txt +++ b/lib/maracasVisuLib/CMakeLists.txt @@ -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)