From: Gauthier Bouilhol Date: Wed, 8 Feb 2012 14:05:15 +0000 (+0100) Subject: small WRAP_GGO issue fixed X-Git-Tag: v1.3.0~104^2~1 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;ds=sidebyside;h=9eff8367f6f7d0095eaa424e6dfd15c07dcc7b64;p=clitk.git small WRAP_GGO issue fixed --- diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index f7d426d..3da91cb 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -255,8 +255,10 @@ IF (CLITK_BUILD_TOOLS) IF(ITK_VERSION_MAJOR VERSION_LESS 4) MESSAGE(WARNING "clitkDicomRTPlan2Gate is not compatible with GDCM<2 (ITK<4). It will not be build.") ELSE(ITK_VERSION_MAJOR VERSION_LESS 4) + WRAP_GGO(clitkDicomRTPlan2Gate_GGO_C clitkDicomRTPlan2Gate.ggo) ADD_EXECUTABLE(clitkDicomRTPlan2Gate clitkDicomRTPlan2Gate.cxx clitkDicomRTPlan2Gate_ggo.c) TARGET_LINK_LIBRARIES(clitkDicomRTPlan2Gate clitkCommon ${ITK_LIBRARIES}) + SET(TOOLS_INSTALL ${TOOLS_INSTALL} clitkDicomRTPlan2Gate) ENDIF(ITK_VERSION_MAJOR VERSION_LESS 4) SET_TARGET_PROPERTIES(${TOOLS_INSTALL} PROPERTIES INSTALL_RPATH "${VTK_DIR}:${ITK_DIR}" )