File cmakelistchanges of Package cegui

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
openSUSE Build Service is sponsored by