From a513f4bbd0c04262fbdbf33093b5047568ff29b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 30 Jan 2019 01:50:07 +0100 Subject: [PATCH] Use common CMake tests. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- CMakeLists.txt | 1 + ConfigureChecks.cmake | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 29b3aab..ebc982e 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 )