On 2011-11-29 20:49, Thomas Sondergaard wrote:

I am doing exactly what you're doing, and if you don't have this
problem I'm interested in how you got it to work.

The most recent version of FindDCMTK.cmake differs from the 2.8.5. Can you tell while this change solves your problem?


[ts@roadrunner cmake]$ git diff v2.8.5 Modules/FindDCMTK.cmake |cat
diff --git a/Modules/FindDCMTK.cmake b/Modules/FindDCMTK.cmake
index 0ac22f8..361d09e 100644
--- a/Modules/FindDCMTK.cmake
+++ b/Modules/FindDCMTK.cmake
@@ -108,8 +108,10 @@ foreach(dir
     PATHS
     ${DCMTK_DIR}/${dir}/include
     ${DCMTK_DIR}/${dir}
-    ${DCMTK_DIR}/include/${dir})
-
+    ${DCMTK_DIR}/include/${dir}
+    ${DCMTK_DIR}/include/dcmtk/${dir}
+    ${DCMTK_DIR}/${dir}/include/dcmtk/${dir}
+    )
   mark_as_advanced(DCMTK_${dir}_INCLUDE_DIR)

   if(DCMTK_${dir}_INCLUDE_DIR)


br,

Thomas

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to