diff options
author | gregory guy <g-gregory@gmx.fr> | 2019-02-07 15:18:06 +0100 |
---|---|---|
committer | gregory guy <g-gregory@gmx.fr> | 2019-02-08 13:56:17 +0100 |
commit | b39e276958b010825d8d030add4945b6ecd2ba3b (patch) | |
tree | 356cee814a0357458a3e7559998d87257e045814 /ConfigureChecks.cmake | |
parent | 56db0ac263e2c908dbdc43c2b7a5c9c642bbe586 (diff) | |
download | tastymenu-b39e276958b010825d8d030add4945b6ecd2ba3b.tar.gz tastymenu-b39e276958b010825d8d030add4945b6ecd2ba3b.zip |
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake new file mode 100644 index 0000000..fa7d77d --- /dev/null +++ b/ConfigureChecks.cmake @@ -0,0 +1,35 @@ +########################################### +# # +# Improvements and feedback are welcome # +# # +# This file is released under GPL >= 3 # +# # +########################################### + + +# required stuff +find_package( TQt ) +find_package( TDE ) + +tde_setup_architecture_flags( ) + +include(TestBigEndian) +test_big_endian(WORDS_BIGENDIAN) + +tde_setup_largefiles( ) + + +##### check for gcc visibility support + +if( WITH_GCC_VISIBILITY ) + tde_setup_gcc_visibility( ) +endif( WITH_GCC_VISIBILITY ) + + +##### check for X11/Xau + +find_package( X11 QUIET ) +pkg_search_module( LIBXAU xau ) +if( NOT LIBXAU_FOUND ) + tde_message_fatal( "libXau is required, but was not found on your system" ) +endif( NOT LIBXAU_FOUND ) |