File: cmakelistchanges

package info (click to toggle)
cegui-mk2 0.8.7-1.3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 57,304 kB
  • sloc: cpp: 305,402; python: 1,175; ansic: 788; sh: 608; xml: 191; java: 162; makefile: 39
file content (36 lines) | stat: -rw-r--r-- 1,762 bytes parent folder | download | duplicates (2)
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
34
35
36
Description: CMakeLists changes to proper building
 This patch changes the way Boost library is searched in the system so that the
 configuration does not fail. Furthermore, the versioning of the data/ and
 include/ directory are changed so that the debian policy is fulfilled.
Author: Muammar El Khatib <muammar@debian.org>
Last-Update: <2016-03-29>

Index: cegui-mk2/CMakeLists.txt
===================================================================
--- cegui-mk2.orig/CMakeLists.txt
+++ cegui-mk2/CMakeLists.txt
@@ -126,7 +126,7 @@ if (UNIX AND PYTHON_VERSION_FOUND)
 else()
   find_package(PythonLibs)
 endif()
-find_package(Boost 1.36.0 COMPONENTS python unit_test_framework system timer)
+find_package(Boost)

 find_package(Doxygen)
 find_package(GTK2 COMPONENTS gtk)
@@ -582,13 +582,13 @@ else()
 endif()

 set( CEGUI_VER_INSTALL_SUBDIR "/${CMAKE_PROJECT_NAME}-${CEGUI_VERSION_MAJOR}" )
-set( CEGUI_DATA_INSTALL_DIR "share${CEGUI_VER_INSTALL_SUBDIR}" )
+set( CEGUI_DATA_INSTALL_DIR "share${CEGUI_VER_INSTALL_SUBDIR}.${CEGUI_VERSION_MINOR}.${CEGUI_VERSION_PATCH}" )
 set( CEGUI_DOC_INSTALL_DIR "share/doc${CEGUI_VER_INSTALL_SUBDIR}" )

 set( CEGUI_PKGCONFIG_INSTALL_DIR "${CEGUI_LIB_INSTALL_DIR}/pkgconfig" )
 set( CEGUI_MODULE_INSTALL_DIR "${CEGUI_LIB_INSTALL_DIR}/${CMAKE_PROJECT_NAME}-${CEGUI_VERSION_MAJOR}.${CEGUI_VERSION_MINOR}" )
 set( CEGUI_SAMPLE_INSTALL_DIR "${CEGUI_MODULE_INSTALL_DIR}" ) # TODO: put into /samples subdir!
-set( CEGUI_INCLUDE_INSTALL_DIR "include${CEGUI_VER_INSTALL_SUBDIR}" )
+set( CEGUI_INCLUDE_INSTALL_DIR "include${CEGUI_VER_INSTALL_SUBDIR}.${CEGUI_VERSION_MINOR}.${CEGUI_VERSION_PATCH}" )

 ################################################################################
 # Deal with files we generate from template files