summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-06-26 16:06:03 +0300
committerMavridis Philippe <[email protected]>2021-06-26 16:35:30 +0300
commit9ef5a045dd516e8223b7aa97a46ac94bbd5839ae (patch)
tree6c41ca812cb12f4cac2d2259dedb3103cd8b49e9 /ConfigureChecks.cmake
parente822245ef1730e7d24b9704a309776613d030f73 (diff)
downloadtwin-style-dekorator-9ef5a045dd516e8223b7aa97a46ac94bbd5839ae.tar.gz
twin-style-dekorator-9ef5a045dd516e8223b7aa97a46ac94bbd5839ae.zip
Replaced Autotools build files with CMake rules
Signed-off-by: Mavridis Philippe <[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 )