From f92a09d3aa2152207e858350faaa6edafcb05002 Mon Sep 17 00:00:00 2001 From: Romulo Pinho Date: Wed, 29 Feb 2012 14:09:44 +0100 Subject: [PATCH] corrected make install issue for Mac --- vv/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.47.1