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>
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -151,7 +151,7 @@
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)
@@ -648,7 +648,7 @@
set( CEGUI_VER_INSTALL_SUBDIR "/${CMAKE_PROJECT_NAME}-${CEGUI_VERSION_MAJOR}" )
if (NOT CEGUI_DATA_INSTALL_DIR)
- 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}" )
endif()
if (NOT CEGUI_DOC_INSTALL_DIR)
@@ -668,7 +668,7 @@
endif()
if (NOT CEGUI_INCLUDE_INSTALL_DIR)
- 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}" )
endif()
################################################################################
|