]> Creatis software - clitk.git/commitdiff
corrected make install issue for Mac
authorRomulo Pinho <romulo.pinho@lyon.unicancer.fr>
Wed, 29 Feb 2012 13:09:44 +0000 (14:09 +0100)
committerRomulo Pinho <romulo.pinho@lyon.unicancer.fr>
Wed, 29 Feb 2012 13:09:44 +0000 (14:09 +0100)
vv/CMakeLists.txt

index 320e1948b4c52c09cc451ff3f3cc4e4bc3ab791a..ccfe267078ef37e5d43e3f994fbd6c715dd86b70 100644 (file)
@@ -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)