]> Creatis software - clitk.git/blobdiff - segmentation/CMakeLists.txt
Include lib gdcm in each subfolder
[clitk.git] / segmentation / CMakeLists.txt
index 7e635ddf9332386f97d8678b2c33bd65f5a2aaeb..8638d10175c3c0fff41932585d395ea44deb1158 100644 (file)
@@ -1,3 +1,9 @@
+#=========================================================
+IF (CLITK_USE_SYSTEM_GDCM)
+  FIND_PACKAGE(GDCM REQUIRED)
+  SET(ITK_LIBRARIES ${ITK_LIBRARIES} gdcmDICT gdcmMSFF)
+ENDIF()
+  
 #=========================================================
 
 # Add Libraries used in vv and clitk to avoid recompilation