summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-11-01 18:47:53 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-11-01 18:47:53 +0900
commit58baf01dab5d45b890534bf8a1eb42d677332407 (patch)
tree236f9826c8f7457b1090d9fb3e6eca16f414e3e7 /ConfigureChecks.cmake
parenta811f9c0bc72c486b66fea1828cc832e81208ed8 (diff)
downloadpolkit-tqt-58baf01dab5d45b890534bf8a1eb42d677332407.tar.gz
polkit-tqt-58baf01dab5d45b890534bf8a1eb42d677332407.zip
Updated cmake files to allow building the package, although it is just a
dummy package (not functional). Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 000000000..fef675949
--- /dev/null
+++ b/ConfigureChecks.cmake
@@ -0,0 +1,28 @@
+#################################################
+#
+# (C) 2021 Michele Calgaro
+# Michele (DOT) Calgaro (AT) yahoo.it
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+##### setup architecture flags ##################
+
+tde_setup_architecture_flags( )
+
+include(TestBigEndian)
+test_big_endian(WORDS_BIGENDIAN)
+
+tde_setup_largefiles( )
+
+
+# tqt
+find_package( TQt )
+
+# gcc visibility
+if( WITH_GCC_VISIBILITY )
+ tde_setup_gcc_visibility( )
+endif( )