summaryrefslogtreecommitdiff
blob: f23af67c2013d6f195e4433463c4fc4ae148b0e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Ensure that qcollectiongenerator is called from the correct directory.

Even though QT_BINARY_DIR is specified, cmake will try PATH first.

Gentoo-bug: 544108

--- a/src/doc/CMakeLists.txt
+++ b/src/doc/CMakeLists.txt
@@ -9,6 +9,7 @@
 FIND_PROGRAM(QT_HELP_COLLECTION_GENERATOR
   qcollectiongenerator
   PATHS "${QT_BINARY_DIR}"
+  NO_DEFAULT_PATH
   DOC "qcollectiongenerator used to compile Qt help collection project files")
 
 ADD_CUSTOM_COMMAND(