From: David Sarrut Date: Tue, 4 Jun 2013 14:51:39 +0000 (+0200) Subject: Add gdcm dependencies X-Git-Tag: v1.4.0~221 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=6dd6814256688df4b99a8664a1c7c5a4b8415de9;p=clitk.git Add gdcm dependencies --- diff --git a/vv/CMakeLists.txt b/vv/CMakeLists.txt index 19511db..f9bfa7a 100644 --- a/vv/CMakeLists.txt +++ b/vv/CMakeLists.txt @@ -7,6 +7,13 @@ if(COMMAND cmake_policy) endif(COMMAND cmake_policy) #========================================================= +#========================================================= +IF (CLITK_USE_SYSTEM_GDCM) + FIND_PACKAGE(GDCM REQUIRED) + SET(ITK_LIBRARIES ${ITK_LIBRARIES} gdcmDICT gdcmMSFF) +ENDIF() +#========================================================= + #========================================================= #List of vv tools to compile @@ -232,7 +239,8 @@ ELSE(WIN32) ADD_EXECUTABLE(vv vv.cxx) ENDIF(WIN32) -TARGET_LINK_LIBRARIES(vv vvLib ${CLITK_GDCM_LIBRARIES}) +TARGET_LINK_LIBRARIES(vv vvLib) +#${CLITK_GDCM_LIBRARIES}) #========================================================= # Install options (also used by CPack)