]> Creatis software - clitk.git/blobdiff - segmentation/CMakeLists.txt
corrections for RPATH in clitk's make install
[clitk.git] / segmentation / CMakeLists.txt
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)