From c2e083ae4e341cf549e5121dcb5bf238029ab710 Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Tue, 27 Jan 2009 09:26:58 +0000 Subject: [PATCH] Fixed error on lib install destination on linux --- lib/maracasVisuLib/CMakeLists.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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) -- 2.47.1