summaryrefslogtreecommitdiff
path: root/devel/dcmtk/files/patch-cmake-CMakeLists.txt
blob: 1e1a1e2279de753e05ed842b1d789f46e3b79da8 (plain) (blame)
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
26
27
28
29
30
31
32
33
--- CMakeLists.txt.orig	2011-01-12 13:26:53.000000000 +0000
+++ CMakeLists.txt	2011-01-12 13:25:56.000000000 +0000
@@ -71,14 +71,14 @@
 # Installation sub-directories
 #-----------------------------------------------------------------------------
 
-SET(INSTALL_BINDIR "/bin")
+SET(INSTALL_BINDIR "/bin/dcmtk")
 SET(INSTALL_INCDIR "/include")
 SET(INSTALL_LIBDIR "/lib")
 SET(INSTALL_ETCDIR "/etc/dcmtk")
 SET(INSTALL_DATDIR "/share/dcmtk")
 SET(INSTALL_DOCDIR "/share/doc/dcmtk")
 SET(INSTALL_HTMDIR "/share/doc/dcmtk/html")
-SET(INSTALL_MANDIR "/share/man")
+SET(INSTALL_MANDIR "/man")
 
 #-----------------------------------------------------------------------------
 # Platform-independent settings
@@ -234,6 +234,13 @@
 SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG")
 
 #-----------------------------------------------------------------------------
+# Module to build shared and static libraries
+#-----------------------------------------------------------------------------
+
+INCLUDE(CMake/BuildLibrary.cmake)
+
+
+#-----------------------------------------------------------------------------
 # Third party libraries
 #-----------------------------------------------------------------------------