Use common CMake tests.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/2/head
Slávek Banko 6 years ago
parent 96180d6e74
commit a513f4bbd0
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -19,6 +19,7 @@ cmake_minimum_required( VERSION 2.8 )
include( FindPkgConfig ) include( FindPkgConfig )
include( CheckCXXSourceCompiles ) include( CheckCXXSourceCompiles )
include( CheckSymbolExists )
set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" ) set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
include( TDEMacros ) include( TDEMacros )

@ -9,6 +9,16 @@
# #
################################################# #################################################
##### setup architecture flags ##################
tde_setup_architecture_flags( )
include(TestBigEndian)
test_big_endian(WORDS_BIGENDIAN)
tde_setup_largefiles( )
# dbus-1 # dbus-1
pkg_search_module( DBUS dbus-1 ) pkg_search_module( DBUS dbus-1 )
if( NOT DBUS_FOUND ) if( NOT DBUS_FOUND )

Loading…
Cancel
Save