6289c6
diff -up cmake-2.8.6-rc1/Modules/FindDCMTK.cmake.dcmtk cmake-2.8.6-rc1/Modules/FindDCMTK.cmake
6289c6
--- cmake-2.8.6-rc1/Modules/FindDCMTK.cmake.dcmtk	2011-08-26 10:51:46.000000000 -0600
6289c6
+++ cmake-2.8.6-rc1/Modules/FindDCMTK.cmake	2011-08-29 16:58:07.299550799 -0600
6289c6
@@ -30,6 +30,10 @@
6289c6
 # Written for VXL by Amitha Perera.
6289c6
 # Upgraded for GDCM by Mathieu Malaterre.
6289c6
 # Modified for EasyViz by Thomas Sondergaard.
6289c6
+# 
6289c6
+# Wed Jul 27 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> 
6289c6
+# - Add all dcmtk libs
6289c6
+# - Add usr/lib to paths
6289c6
 #
6289c6
 
6289c6
 if(NOT DCMTK_FOUND AND NOT DCMTK_DIR)
6289c6
@@ -44,20 +48,26 @@ endif()
6289c6
 
6289c6
 foreach(lib
6289c6
     dcmdata
6289c6
+    dcmdsig
6289c6
     dcmimage
6289c6
     dcmimgle
6289c6
     dcmjpeg
6289c6
+    dcmjpls
6289c6
     dcmnet
6289c6
     dcmpstat
6289c6
     dcmqrdb
6289c6
-    dcmsign
6289c6
     dcmsr
6289c6
     dcmtls
6289c6
+    dcmwlm
6289c6
     ijg12
6289c6
     ijg16
6289c6
     ijg8
6289c6
+    libi2d
6289c6
+    oflog
6289c6
     ofstd)
6289c6
 
6289c6
+
6289c6
+
6289c6
   find_library(DCMTK_${lib}_LIBRARY
6289c6
     ${lib}
6289c6
     PATHS
6289c6
@@ -66,7 +76,8 @@ foreach(lib
6289c6
     ${DCMTK_DIR}/${lib}/libsrc/Debug
6289c6
     ${DCMTK_DIR}/${lib}/Release
6289c6
     ${DCMTK_DIR}/${lib}/Debug
6289c6
-    ${DCMTK_DIR}/lib)
6289c6
+    ${DCMTK_DIR}/lib
6289c6
+    /usr/lib/dcmtk)
6289c6
 
6289c6
   mark_as_advanced(DCMTK_${lib}_LIBRARY)
6289c6
 
6289c6
@@ -82,13 +93,16 @@ set(DCMTK_dcmdata_TEST_HEADER dctypes.h)
6289c6
 set(DCMTK_dcmimage_TEST_HEADER dicoimg.h)
6289c6
 set(DCMTK_dcmimgle_TEST_HEADER dcmimage.h)
6289c6
 set(DCMTK_dcmjpeg_TEST_HEADER djdecode.h)
6289c6
+set(DCMTK_dcmjpls_TEST_HEADER djcodecd.h)
6289c6
 set(DCMTK_dcmnet_TEST_HEADER assoc.h)
6289c6
 set(DCMTK_dcmpstat_TEST_HEADER dcmpstat.h)
6289c6
 set(DCMTK_dcmqrdb_TEST_HEADER dcmqrdba.h)
6289c6
 set(DCMTK_dcmsign_TEST_HEADER sicert.h)
6289c6
 set(DCMTK_dcmsr_TEST_HEADER dsrtree.h)
6289c6
 set(DCMTK_dcmtls_TEST_HEADER tlslayer.h)
6289c6
+set(DCMTK_dcmwlm_TEST_HEADER wldsfs.h)
6289c6
 set(DCMTK_ofstd_TEST_HEADER ofstdinc.h)
6289c6
+set(DCMTK_oflog_TEST_HEADER oflog.h)
6289c6
 
6289c6
 foreach(dir
6289c6
     config
6289c6
@@ -96,16 +110,20 @@ foreach(dir
6289c6
     dcmimage
6289c6
     dcmimgle
6289c6
     dcmjpeg
6289c6
+    dcmjpls
6289c6
     dcmnet
6289c6
     dcmpstat
6289c6
     dcmqrdb
6289c6
     dcmsign
6289c6
     dcmsr
6289c6
     dcmtls
6289c6
+    dcmwlen
6289c6
+    oflog
6289c6
     ofstd)
6289c6
   find_path(DCMTK_${dir}_INCLUDE_DIR
6289c6
     ${DCMTK_${dir}_TEST_HEADER}
6289c6
     PATHS
6289c6
+    /usr/include/dcmtk
6289c6
     ${DCMTK_DIR}/${dir}/include
6289c6
     ${DCMTK_DIR}/${dir}
6289c6
     ${DCMTK_DIR}/include/${dir}