diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-01-30 01:50:07 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-01-30 01:50:33 +0100 |
commit | 4c1f49f7efbf9f87a291ad278e53b018b57bea61 (patch) | |
tree | 459ace5a17731bf6ef0da9ca715a8c65c276ed84 | |
parent | 2fa65b6fe282bd95e988447a9a9e5170ca2ec45b (diff) | |
download | dbus-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.txt | 1 | ||||
-rw-r--r-- | ConfigureChecks.cmake | 10 |
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 ) |