diff Resources/CMake/DcmtkConfiguration.cmake @ 114:b4f1191768eb

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 04 Oct 2012 14:35:53 +0200
parents 8c0a5666b05f
children 97d92e25c961
line wrap: on
line diff
--- a/Resources/CMake/DcmtkConfiguration.cmake	Thu Oct 04 14:12:01 2012 +0200
+++ b/Resources/CMake/DcmtkConfiguration.cmake	Thu Oct 04 14:35:53 2012 +0200
@@ -62,7 +62,7 @@
   include(FindDCMTK)
 
   include_directories(${DCMTK_INCLUDE_DIR})
-  link_libraries(${DCMTK_LIBRARIES} ofstd wrap)
+  link_libraries(${DCMTK_LIBRARIES} ofstd)
 
   add_definitions(
     -DHAVE_CONFIG_H=1
@@ -80,7 +80,7 @@
 
   IF (EXISTS "${DCMTK_DIR}/oflog")
     set(DCMTK_BUNDLES_LOG4CPLUS 1)
-    link_libraries(${DCMTK_LIBRARIES} oflog)
+    link_libraries(${DCMTK_LIBRARIES} oflog wrap)
   else()
     set(DCMTK_BUNDLES_LOG4CPLUS 0)
   endif()