summaryrefslogtreecommitdiffstats
path: root/util/cmake
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2019-09-18 11:54:11 +0200
committerJohan Helsing <johan.helsing@qt.io>2019-09-20 07:28:32 +0000
commitd6a491d607015a3d6981f90a01fb0cdf4490e2e8 (patch)
tree605d1c91e4455a3fe90df0a12015fbf44558c398 /util/cmake
parent3b7aa8aee855a939984473a0fc32383c43ec7620 (diff)
CMake: Use FindWaylandScanner.cmake from extra-cmake-modules
Change-Id: Iaf78f215396671fc6f351ac20e686cfd2c39664f Reviewed-by: Leander Beernaert <leander.beernaert@qt.io> Reviewed-by: Qt CMake Build Bot Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util/cmake')
-rwxr-xr-xutil/cmake/configurejson2cmake.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py
index db56f26eda..846d800298 100755
--- a/util/cmake/configurejson2cmake.py
+++ b/util/cmake/configurejson2cmake.py
@@ -128,6 +128,8 @@ def map_tests(test: str) -> str:
"reduce_exports": "CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY",
"libinput_axis_api": "ON",
"xlib": "X11_FOUND",
+
+ 'wayland-scanner': 'WaylandScanner_FOUND',
}
if test in testmap:
return testmap.get(test, None)