summaryrefslogtreecommitdiffstats
path: root/Modules/FindQt4.cmake
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2011-07-22 19:38:36 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2011-07-22 19:38:36 (GMT)
commit0ae8a3405bb32afadda13f43100484e85f7ef74f (patch)
tree99bb9d6f0ddc87c23d56c0f49a2af358eab0cfc3 /Modules/FindQt4.cmake
parenta8e0287d86aa2450b5cbe0792180587bb1d48b7e (diff)
downloadCMake-0ae8a3405bb32afadda13f43100484e85f7ef74f.zip
CMake-0ae8a3405bb32afadda13f43100484e85f7ef74f.tar.gz
CMake-0ae8a3405bb32afadda13f43100484e85f7ef74f.tar.bz2
Add qt4/QtCore to help find Qt headers when cross-compiling.
Diffstat (limited to 'Modules/FindQt4.cmake')
-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