changeset 115:97d92e25c961

improvements
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 04 Oct 2012 14:48:23 +0200
parents b4f1191768eb
children 5dce26a8d045
files Resources/CMake/DcmtkConfiguration.cmake
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/DcmtkConfiguration.cmake	Thu Oct 04 14:35:53 2012 +0200
+++ b/Resources/CMake/DcmtkConfiguration.cmake	Thu Oct 04 14:48:23 2012 +0200
@@ -61,8 +61,11 @@
 else()
   include(FindDCMTK)
 
+  #message(${DCMTK_LIBRARIES})
+  set(DCMTK_LIBRARIES dcmdata dcmnet)
+
   include_directories(${DCMTK_INCLUDE_DIR})
-  link_libraries(${DCMTK_LIBRARIES} ofstd)
+  link_libraries(${DCMTK_LIBRARIES} wrap)
 
   add_definitions(
     -DHAVE_CONFIG_H=1
@@ -80,7 +83,7 @@
 
   IF (EXISTS "${DCMTK_DIR}/oflog")
     set(DCMTK_BUNDLES_LOG4CPLUS 1)
-    link_libraries(${DCMTK_LIBRARIES} oflog wrap)
+    link_libraries(ofstd oflog)
   else()
     set(DCMTK_BUNDLES_LOG4CPLUS 0)
   endif()