summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-07-26 18:57:44 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-07-26 18:57:44 (GMT)
commitc2b29688250449e0b61a4c1308da0cb4f550c171 (patch)
tree3beec921c818f6a5f9e36801d4a07b1c752102e8 /Modules
parentd6b2a1a9b3f28733e37057744dec119a0c9129db (diff)
parent0ae8a3405bb32afadda13f43100484e85f7ef74f (diff)
downloadCMake-c2b29688250449e0b61a4c1308da0cb4f550c171.zip
CMake-c2b29688250449e0b61a4c1308da0cb4f550c171.tar.gz
CMake-c2b29688250449e0b61a4c1308da0cb4f550c171.tar.bz2
Merge topic 'cross-qt4-find-includes'
0ae8a34 Add qt4/QtCore to help find Qt headers when cross-compiling.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindQt4.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake
index 86fce9d..a0941ca 100644
--- a/Modules/FindQt4.cmake
+++ b/Modules/FindQt4.cmake
@@ -620,7 +620,7 @@ IF (QT_QMAKE_EXECUTABLE AND QTVERSION)
SET(QT_QTCORE_INCLUDE_DIR NOTFOUND)
FIND_PATH(QT_QTCORE_INCLUDE_DIR QtCore
HINTS ${qt_headers} ${QT_LIBRARY_DIR}
- PATH_SUFFIXES QtCore
+ PATH_SUFFIXES QtCore qt4/QtCore
)
# Set QT_HEADERS_DIR based on finding QtCore header