From 6dd6814256688df4b99a8664a1c7c5a4b8415de9 Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Tue, 4 Jun 2013 16:51:39 +0200 Subject: [PATCH] Add gdcm dependencies --- vv/CMakeLists.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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) -- 2.47.1