summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-07-30 12:24:24 +0200
committergregory guy <[email protected]>2020-08-04 21:08:15 +0200
commite2016d4ad8f01e72cc713f799907861d75c28366 (patch)
treed171edca4d084911dd2d0e46dfd2e20bca939f4a /ConfigureChecks.cmake
parent98289d62bdef1335bee227eba4ca699fa158f6a9 (diff)
downloadksystemlog-e2016d4ad8f01e72cc713f799907861d75c28366.tar.gz
ksystemlog-e2016d4ad8f01e72cc713f799907861d75c28366.zip
Conversion to the cmake building system.
Add a man page taken from the Debian packaging system. Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake28
1 files changed, 28 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
new file mode 100644
index 0000000..af4fd44
--- /dev/null
+++ b/ConfigureChecks.cmake
@@ -0,0 +1,28 @@
+#################################################
+#
+# (C) 2010 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# 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 )