From: Romulo Pinho Date: Wed, 29 Feb 2012 13:09:44 +0000 (+0100) Subject: corrected make install issue for Mac X-Git-Tag: v1.3.0~82^2~1 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=f92a09d3aa2152207e858350faaa6edafcb05002;p=clitk.git corrected make install issue for Mac --- diff --git a/vv/CMakeLists.txt b/vv/CMakeLists.txt index 320e194..ccfe267 100644 --- a/vv/CMakeLists.txt +++ b/vv/CMakeLists.txt @@ -224,7 +224,7 @@ TARGET_LINK_LIBRARIES(vv vvLib) #========================================================= # Install options (also used by CPack) -IF(UNIX AND NOT APPLE) +IF(UNIX OR APPLE) SET_TARGET_PROPERTIES(vv PROPERTIES INSTALL_RPATH "${VTK_DIR}:${ITK_DIR}") INSTALL (TARGETS vv DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE) @@ -236,7 +236,7 @@ IF(UNIX AND NOT APPLE) # RENAME "lib${LIB}.so.${QT_VERSION_MAJOR}" # DESTINATION .) #ENDFOREACH(LIB) -ENDIF(UNIX AND NOT APPLE) +ENDIF(UNIX OR APPLE) IF(WIN32) #INCLUDE(InstallRequiredSystemLibraries)