aboutsummaryrefslogtreecommitdiff
path: root/find-modules
diff options
context:
space:
mode:
authorJonathan Riddell <jr@jriddell.org>2015-02-11 15:07:50 +0100
committerJonathan Riddell <jr@jriddell.org>2015-02-11 15:07:50 +0100
commit7c20867987d21fe36255e8b84fc0dd3003c88e14 (patch)
tree72ab1a335e6e8fe0eb69983acea468505c410384 /find-modules
parentbd7aa7a91ab75639ddc3a274718da55e6cd2ae81 (diff)
downloadextra-cmake-modules-7c20867987d21fe36255e8b84fc0dd3003c88e14.tar.gz
extra-cmake-modules-7c20867987d21fe36255e8b84fc0dd3003c88e14.tar.bz2
Add Debian path to search path for qtwaylandscanner
Debian likes to install qt binaries into an obscure path, search here as well REVIEW: 122526
Diffstat (limited to 'find-modules')
-rw-r--r--find-modules/FindQtWaylandScanner.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/find-modules/FindQtWaylandScanner.cmake b/find-modules/FindQtWaylandScanner.cmake
index 28a4fda5..79a1b051 100644
--- a/find-modules/FindQtWaylandScanner.cmake
+++ b/find-modules/FindQtWaylandScanner.cmake
@@ -90,7 +90,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/ECMFindModuleHelpersStub.cmake)
ecm_find_package_version_check(QtWaylandScanner)
# Find qtwaylandscanner
-find_program(QtWaylandScanner_EXECUTABLE NAMES qtwaylandscanner)
+find_program(QtWaylandScanner_EXECUTABLE NAMES qtwaylandscanner HINTS /usr/lib/${CMAKE_LIBRARY_ARCHITECTURE}/qt5/bin/)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(QtWaylandScanner