X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=registration%2FCMakeLists.txt;h=39ebae893effbc57023028c71c08b16dfdcf5e9f;hb=eb0518a3c989812b383a96856afd562c4ebb70a0;hp=e01247eb226effabee330226219ca4b1bc486738;hpb=a9915bcc0ca7314a7ca6a99bdee7794dff6b0f79;p=clitk.git diff --git a/registration/CMakeLists.txt b/registration/CMakeLists.txt index e01247e..39ebae8 100644 --- a/registration/CMakeLists.txt +++ b/registration/CMakeLists.txt @@ -36,11 +36,6 @@ IF(CLITK_BUILD_REGISTRATION) TARGET_LINK_LIBRARIES(clitkShapedBLUTSpatioTemporalDIR clitkCommon ${ITK_LIBRARIES}) SET(REGISTRATION_INSTALL ${REGISTRATION_INSTALL} clitkShapedBLUTSpatioTemporalDIR) - WRAP_GGO(clitkBSplineDeformableRegistration_GGO_C clitkBSplineDeformableRegistration.ggo) - ADD_EXECUTABLE(clitkBSplineDeformableRegistration clitkBSplineDeformableRegistration.cxx clitkBSplineDeformableRegistrationGenericFilter.cxx ${clitkBSplineDeformableRegistration_GGO_C} clitkLBFGSBOptimizer.cxx) - TARGET_LINK_LIBRARIES(clitkBSplineDeformableRegistration clitkCommon ${ITK_LIBRARIES}) - SET(REGISTRATION_INSTALL ${REGISTRATION_INSTALL} clitkBSplineDeformableRegistration) - ############################## registration-related tools to process points, bsplines, vf and image pyramids WRAP_GGO(clitkConvertPointList_GGO_C clitkConvertPointList.ggo) @@ -88,6 +83,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)