changeset 984:e077093bf1a9 plugins

improvements
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 01 Jul 2014 14:30:42 +0200
parents 80d4f1618b33
children 0bfdfc0c6b9b
files Plugins/Samples/GdcmDecoding/CMakeLists.txt
diffstat 1 files changed, 3 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Samples/GdcmDecoding/CMakeLists.txt	Tue Jul 01 12:01:58 2014 +0200
+++ b/Plugins/Samples/GdcmDecoding/CMakeLists.txt	Tue Jul 01 14:30:42 2014 +0200
@@ -21,26 +21,16 @@
 find_package(GDCM REQUIRED)
 if (GDCM_FOUND)
   include(${GDCM_USE_FILE})
-  set(GDCM_LIBRARIES 
-    gdcmCommon
-    gdcmDICT
-    gdcmDSED
-    gdcmIOD
-    gdcmjpeg12
-    gdcmjpeg16
-    gdcmjpeg8
-    gdcmMEXD
-    gdcmMSFF
-    )
+  set(GDCM_LIBRARIES gdcmCommon gdcmMSFF)
 else(GDCM_FOUND)
   message(FATAL_ERROR "Cannot find GDCM, did you set GDCM_DIR?")
 endif(GDCM_FOUND)
 
-
 include_directories(
   ${ORTHANC_ROOT}/Plugins/OrthancCPlugin/
   ${ORTHANC_ROOT}/OrthancCppClient/SharedLibrary/Laaw
   )
+
 add_library(GdcmDecoding SHARED
   Plugin.cpp
   OrthancContext.cpp
@@ -58,6 +48,7 @@
   ${ORTHANC_ROOT}/Resources/ThirdParty/md5/md5.c
   ${THIRD_PARTY_SOURCES}
   )
+
 target_link_libraries(GdcmDecoding ${GDCM_LIBRARIES})
 
 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")