changeset 116:5dce26a8d045

skip autodetection of dcmtk by cmake
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 04 Oct 2012 14:54:35 +0200
parents 97d92e25c961
children 0c5902cfe9db
files Resources/CMake/DcmtkConfiguration.cmake
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/DcmtkConfiguration.cmake	Thu Oct 04 14:48:23 2012 +0200
+++ b/Resources/CMake/DcmtkConfiguration.cmake	Thu Oct 04 14:54:35 2012 +0200
@@ -59,13 +59,14 @@
   set(DCMTK_BUNDLES_LOG4CPLUS 1)
 
 else()
-  include(FindDCMTK)
+  #include(FindDCMTK)
+  set(DCMTK_DIR /usr/include/dcmtk)
+  set(DCMTK_INCLUDE_DIR ${DCMTK_DIR})
 
   #message(${DCMTK_LIBRARIES})
-  set(DCMTK_LIBRARIES dcmdata dcmnet)
 
   include_directories(${DCMTK_INCLUDE_DIR})
-  link_libraries(${DCMTK_LIBRARIES} wrap)
+  link_libraries(dcmdata dcmnet wrap)
 
   add_definitions(
     -DHAVE_CONFIG_H=1