summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2019-03-19 19:07:39 +0100
committerSlávek Banko <[email protected]>2019-03-31 16:33:17 +0200
commit26ee115d569391bac2c6e2b4772ccb3de012ecdd (patch)
tree8ea94c51288a1f967d1ef5b02ae114edfeb71e78 /ConfigureChecks.cmake
parentb850117f2d199a02a9ae498d2ffaa23742f9c2a7 (diff)
downloadtde-style-lipstik-26ee115d569391bac2c6e2b4772ccb3de012ecdd.tar.gz
tde-style-lipstik-26ee115d569391bac2c6e2b4772ccb3de012ecdd.zip
conversion to the cmake building system
Signed-off-by: gregory guy <[email protected]> (cherry picked from commit e7c75e712197761e6b8ac4ab59b88ef9a1896eae)
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 )