Permalink
Showing
with
13 additions
and 21 deletions.
| @@ -1,13 +1,13 @@ | ||
| --- Modules/FindQt4.cmake.orig | ||
| +++ Modules/FindQt4.cmake | ||
| @@ -743,9 +743,7 @@ | ||
| @@ -736,9 +736,7 @@ | ||
| find_path(QT_IMPORTS_DIR NAMES Qt | ||
| HINTS ${qt_cross_paths} ${qt_imports_dir} | ||
| DOC "The location of the Qt imports" | ||
| - NO_CMAKE_FIND_ROOT_PATH | ||
| - NO_CMAKE_PATH NO_CMAKE_ENVIRONMENT_PATH NO_SYSTEM_ENVIRONMENT_PATH | ||
| - NO_CMAKE_SYSTEM_PATH) | ||
| + NO_DEFAULT_PATH) | ||
| # If the imports folder is empty, set QT_IMPORTS_DIR to ${qt_imports_dir} | ||
| if(NOT QT_IMPORTS_DIR AND qt_imports_dir) | ||
| set(QT_IMPORTS_DIR ${qt_imports_dir} CACHE PATH "The location of the Qt imports") | ||
| mark_as_advanced(QT_IMPORTS_DIR) | ||
| endif() | ||
| endif () |