]> Creatis software - gdcm.git/blobdiff - Testing/CMakeLists.txt
* FIX : now, the DocEntries are all deleted in the gdcmElementSet.
[gdcm.git] / Testing / CMakeLists.txt
index 76814532f15fe7107499dfa0930c1fc56d8132a8..d53cbc71e940dd1b6961f58993d87ce8e359ea1d 100644 (file)
@@ -12,6 +12,7 @@ SET(TEST_SOURCES
   TestHash.cxx
   TestTS.cxx
   TestVR.cxx
+  TestUtil.cxx
   TestDicomString.cxx
 )
 
@@ -31,11 +32,14 @@ IF (GDCM_DATA_ROOT)
   )
   # add test that require VTK:
   IF(GDCM_VTK)
+    # Include the VTK library
+    INCLUDE(${VTK_USE_FILE})
+
     INCLUDE_DIRECTORIES(
       ${GDCM_SOURCE_DIR}/vtk/
       )
     SET(TEST_SOURCES ${TEST_SOURCES}
-      ShowDicom.cxx    
+      ShowDicom.cxx
       )
   ENDIF(GDCM_VTK)
 ENDIF (GDCM_DATA_ROOT)