summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-07-01 19:18:31 +0200
committerSlávek Banko <[email protected]>2021-07-01 19:21:55 +0200
commitf5dd4b1e8d22437603cc7c4f481bdd2a02500750 (patch)
tree777761558840cca817f02b069ed774afaa10a0de /ConfigureChecks.cmake
parent7feb25ed7c4fc675feb19cce5cd3b3058391abd6 (diff)
downloadtwin-style-crystal-f5dd4b1e8d22437603cc7c4f481bdd2a02500750.tar.gz
twin-style-crystal-f5dd4b1e8d22437603cc7c4f481bdd2a02500750.zip
Conversion to the cmake building system.
Signed-off-by: Slávek Banko <[email protected]>
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 )