]> Creatis software - clitk.git/commitdiff
Remove /lib from INSTALL_RPATH properties
authorVivien Delmon <vivien.delmon@creatis.insa-lyon.fr>
Tue, 30 Aug 2011 13:36:27 +0000 (15:36 +0200)
committerVivien Delmon <vivien.delmon@creatis.insa-lyon.fr>
Tue, 30 Aug 2011 13:36:27 +0000 (15:36 +0200)
- only needed on my computer with itkv4

vv/CMakeLists.txt

index 70c9ccd8a9a3590bf80bec970f59f9795888b6f3..3198e7edbbf147c6e44d2b055b3ff872c5d6e8eb 100644 (file)
@@ -223,7 +223,7 @@ TARGET_LINK_LIBRARIES(vv vvLib)
 # Install options (also used by CPack)
 IF(UNIX AND NOT APPLE)
   SET_TARGET_PROPERTIES(vv
-    PROPERTIES INSTALL_RPATH "${VTK_DIR}:${ITK_DIR}/lib")
+    PROPERTIES INSTALL_RPATH "${VTK_DIR}:${ITK_DIR}")
   INSTALL (TARGETS vv DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE)
   #  INSTALL (FILES ${CMAKE_CURRENT_SOURCE_DIR}/icons/ducky.png DESTINATION .)