]> Creatis software - clitk.git/commitdiff
corrections for RPATH in clitk's make install
authorRomulo Pinho <pinho@lyon.fnclcc.fr>
Thu, 21 Jul 2011 12:28:41 +0000 (14:28 +0200)
committerRomulo Pinho <pinho@lyon.fnclcc.fr>
Thu, 21 Jul 2011 12:28:41 +0000 (14:28 +0200)
registration/CMakeLists.txt
segmentation/CMakeLists.txt
tools/CMakeLists.txt

index e01247eb226effabee330226219ca4b1bc486738..d15b4d4199168d5b149b20bedbfdcfaee652f9c0 100644 (file)
@@ -88,6 +88,7 @@ IF(CLITK_BUILD_REGISTRATION)
     TARGET_LINK_LIBRARIES(clitkResampleBSplineDeformableTransform clitkCommon ${ITK_LIBRARIES})
     SET(REGISTRATION_INSTALL ${REGISTRATION_INSTALL} clitkResampleBSplineDeformableTransform)
 
+    SET_TARGET_PROPERTIES(${REGISTRATION_INSTALL} PROPERTIES INSTALL_RPATH "${VTK_DIR}:${ITK_DIR}" )  
     INSTALL (TARGETS ${REGISTRATION_INSTALL} DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE)
 
 ENDIF(CLITK_BUILD_REGISTRATION)
index b0bff3f0d03fac0107fa79d77378a2bdd85fa28b..0275336dea4a760edb663513ff8bef732858cd46 100644 (file)
@@ -115,6 +115,7 @@ IF(CLITK_BUILD_SEGMENTATION)
     # TARGET_LINK_LIBRARIES(clitkTestFilter clitkSegmentationGgoLib clitkCommon vtkHybrid)
     # SET(SEGMENTATION_INSTALL ${TOOLS_INSTALL} clitkTestFilter)
     
+    SET_TARGET_PROPERTIES(${SEGMENTATION_INSTALL} PROPERTIES INSTALL_RPATH "${VTK_DIR}:${ITK_DIR}" )  
     INSTALL (TARGETS ${SEGMENTATION_INSTALL} DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE)
 
 ENDIF(CLITK_BUILD_SEGMENTATION)
index fecaef0c72683bd88e61ebd2fc05af3cf354bff6..929156d559d85d0d18ca02d55f642ddd69ba73c3 100644 (file)
@@ -342,6 +342,7 @@ IF (CLITK_BUILD_TOOLS)
     SET(TOOLS_INSTALL ${TOOLS_INSTALL} clitkMeshViewer)
   ENDIF(CLITK_EXPERIMENTAL)
 
+  SET_TARGET_PROPERTIES(${TOOLS_INSTALL} PROPERTIES INSTALL_RPATH "${VTK_DIR}:${ITK_DIR}" )  
   INSTALL (TARGETS ${TOOLS_INSTALL} DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE)
 
 ENDIF(CLITK_BUILD_TOOLS)