summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-01-30 01:50:07 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-01-30 01:50:33 +0100
commit4c1f49f7efbf9f87a291ad278e53b018b57bea61 (patch)
tree459ace5a17731bf6ef0da9ca715a8c65c276ed84
parent2fa65b6fe282bd95e988447a9a9e5170ca2ec45b (diff)
downloaddbus-tqt-4c1f49f7efbf9f87a291ad278e53b018b57bea61.tar.gz
dbus-tqt-4c1f49f7efbf9f87a291ad278e53b018b57bea61.zip
Use common CMake tests.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit a513f4bbd0c04262fbdbf33093b5047568ff29b3)
-rw-r--r--CMakeLists.txt1
-rw-r--r--ConfigureChecks.cmake10
2 files changed, 11 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 00b2562..669c531 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,6 +19,7 @@ cmake_minimum_required( VERSION 2.8 )
include( FindPkgConfig )
include( CheckCXXSourceCompiles )
+include( CheckSymbolExists )
set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
include( TDEMacros )
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 951e55f..6c16971 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -9,6 +9,16 @@
#
#################################################
+##### setup architecture flags ##################
+
+tde_setup_architecture_flags( )
+
+include(TestBigEndian)
+test_big_endian(WORDS_BIGENDIAN)
+
+tde_setup_largefiles( )
+
+
# dbus-1
pkg_search_module( DBUS dbus-1 )
if( NOT DBUS_FOUND )