summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-05-19 19:22:18 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-05-23 17:03:40 +0200
commitde29a16353e533a9bfa9414eff45bb8e7c36da32 (patch)
treee225748a5c51ba331460db2c57a95b43c04a073a /ConfigureChecks.cmake
parent470c6e294f76313714322b7ffc586fe4479f2fd5 (diff)
downloadkeep-de29a16353e533a9bfa9414eff45bb8e7c36da32.tar.gz
keep-de29a16353e533a9bfa9414eff45bb8e7c36da32.zip
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr> (cherry picked from commit 14bb845a29befcb8b11e2b55a43c58684d9acac0)
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake25
1 files changed, 25 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
new file mode 100644
index 0000000..d1e3778
--- /dev/null
+++ b/ConfigureChecks.cmake
@@ -0,0 +1,25 @@
+###########################################
+# #
+# 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 )