]> Creatis software - gdcm.git/blobdiff - Testing/CMakeLists.txt
* Bugs fix for the Windows build with VC6
[gdcm.git] / Testing / CMakeLists.txt
index 76814532f15fe7107499dfa0930c1fc56d8132a8..37e5ccd92f97d7e76fd75246dd77bbc349a515a4 100644 (file)
@@ -31,11 +31,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)