mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
Add qt4/QtCore to help find Qt headers when cross-compiling.
This commit is contained in:
1 parent
a8e0287d86
commit
0ae8a3405b
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user