summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-06-06 13:17:44 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-09-20 17:26:19 +0200
commitf0d154216606ee0f160dff93b5b8fb66928b6479 (patch)
treef0cb2f3863fd1c2e6e90c77c90b8aa0574bcc90c /ConfigureChecks.cmake
parent9a760d51f6c0db7e315960ac697bf2f60eb5bcda (diff)
downloadkdiff3-f0d154216606ee0f160dff93b5b8fb66928b6479.tar.gz
kdiff3-f0d154216606ee0f160dff93b5b8fb66928b6479.zip
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr> (cherry picked from commit ac4ae192354a1426f2711479cdfa15ca6ef3dfbf)
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 )