Browse Source

Use common CMake tests.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
master
Slávek Banko 1 year ago
parent
commit
a513f4bbd0
Signed by: SlavekB GPG Key ID: 608F5293A04BE668
2 changed files with 11 additions and 0 deletions
  1. +1
    -0
      CMakeLists.txt
  2. +10
    -0
      ConfigureChecks.cmake

+ 1
- 0
CMakeLists.txt View File

@@ -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 )


+ 10
- 0
ConfigureChecks.cmake View File

@@ -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 )


Loading…
Cancel
Save