Package: dcmtk / 3.6.1~20160216-4

07_dont_export_all_executables.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Don't add executables to cmake exports
 CMake exports are used by other packages that compile
 and link against dcmtk. Because Debian moves some of
 these executables and also dosn't install the test
 executables, this import may fail leading to failure
 to configure the according package. 
Author: Gert Wollny <gw.fossdev@gmail.com>
Bug-Debian: http://bugs.debian.org/803304

--- dcmtk-3.6.1~20150629/CMake/dcmtkMacros.cmake	2015-06-29 10:56:45.000000000 +0200
+++ dcmtk-3.6.1~20150629.new/CMake/dcmtkMacros.cmake	2015-10-28 17:34:00.561427435 +0100
@@ -55,11 +55,11 @@
         ENDIF(WIN32 AND NOT MINGW)
 
         # Collect executable as part of global DCMTK_EXECUTABLE_TARGETS property
-        SET_PROPERTY(GLOBAL APPEND PROPERTY DCMTK_EXECUTABLE_TARGETS ${PROGRAM})
+#        SET_PROPERTY(GLOBAL APPEND PROPERTY DCMTK_EXECUTABLE_TARGETS ${PROGRAM})
 
         # declare installation files, also export DCMTKTargets.cmake
         INSTALL(TARGETS ${PROGRAM}
-                EXPORT DCMTKTargets
+#                EXPORT DCMTKTargets
                 COMPONENT bin
                 DESTINATION ${DCMTK_INSTALL_BINDIR})
     ENDIF(BUILD_APPS)