summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals.cid@kdab.com>2019-02-11 16:27:26 +0100
committerAlbert Astals Cid <albert.astals.cid@kdab.com>2019-02-11 17:16:28 +0000
commitac96d08b9d0900a8e368c2e72c86190335480911 (patch)
tree8cc2ea0fc9bb4b84797f5bc8ffaf050ddf03d98f /cmake
parent3726b58d3b7c595291c8a3f22ee518dffc382950 (diff)
cmake: find gtk3 and build the gtk3 platformtheme
Change-Id: I7db7321a2fd5ea0eda1924f3dece3b1c86d87d10 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindGTK3.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/FindGTK3.cmake b/cmake/FindGTK3.cmake
new file mode 100644
index 0000000000..f4476c167b
--- /dev/null
+++ b/cmake/FindGTK3.cmake
@@ -0,0 +1,3 @@
+include(FindPkgConfig)
+
+pkg_check_modules(GTK3 "gtk+-3.0 >= 3.6" IMPORTED_TARGET)