summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-03-14 14:45:40 +0100
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-03-18 18:57:51 +0900
commitc2aeadd30ff54cdd7482cbc94e6c730657ebc376 (patch)
tree6a23e342c7cc640fef9adb9ba19986980ad11f0d /ConfigureChecks.cmake
parentbc4c38d3d08c7a6e2d2b52f9eaf8a84da6c3f73d (diff)
downloadkstreamripper-c2aeadd30ff54cdd7482cbc94e6c730657ebc376.tar.gz
kstreamripper-c2aeadd30ff54cdd7482cbc94e6c730657ebc376.zip
Conversion to the cmake building system.
Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit 6d5cbbbea9dd0b8bafb91cdf13366b45da9c61d1)
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake26
1 files changed, 26 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
new file mode 100644
index 0000000..289dd8c
--- /dev/null
+++ b/ConfigureChecks.cmake
@@ -0,0 +1,26 @@
+###########################################
+# #
+# 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( )