summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-03-10 19:48:49 +0200
committerMavridis Philippe <mavridisf@gmail.com>2024-03-10 20:04:10 +0200
commitbf8023245ca81129b27778d9e38f4cbdcdd1dc5b (patch)
tree9d87daf1597b81e8e0f0eb493f0c1f2930627822 /ConfigureChecks.cmake
parentff13ed1771d5265ffc9e2d70945dd990c6b93289 (diff)
downloadtde-style-polyester-bf8023245ca81129b27778d9e38f4cbdcdd1dc5b.tar.gz
tde-style-polyester-bf8023245ca81129b27778d9e38f4cbdcdd1dc5b.zip
Port to CMake build system
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake23
1 files changed, 23 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
new file mode 100644
index 0000000..bde6757
--- /dev/null
+++ b/ConfigureChecks.cmake
@@ -0,0 +1,23 @@
+################################################################################
+# Polyester - widget style and twin decoration aimed to be a good balance #
+# between eye candy and simplicity #
+# #
+# This file is released under the GNU GPL version 3 or later. #
+# Improvements and feedback are welcome! #
+################################################################################
+
+### TQt/TDE ####################################################################
+
+find_package(TQt)
+find_package(TDE)
+tde_setup_architecture_flags()
+
+include(TestBigEndian)
+test_big_endian(WORDS_BIGENDIAN)
+
+tde_setup_largefiles()
+
+### GCC visibility #############################################################
+if (WITH_GCC_VISIBILITY)
+ tde_setup_gcc_visibility()
+endif() \ No newline at end of file