Forgot the patch for kde-4.4 findqt4.

svn path=/nixpkgs/trunk/; revision=19961
This commit is contained in:
Lluís Batlle i Rossell 2010-02-12 17:04:15 +00:00
parent ffcac187e8
commit 3672eaf275

View file

@ -0,0 +1,13 @@
diff --git a/cmake/modules/FindQt4.cmake b/cmake/modules/FindQt4.cmake
index 86622fd..e15b3fa 100644
--- a/cmake/modules/FindQt4.cmake
+++ b/cmake/modules/FindQt4.cmake
@@ -727,6 +727,8 @@ IF (QT4_QMAKE_FOUND)
FOREACH(QT_MODULE ${QT_MODULES})
STRING(TOUPPER ${QT_MODULE} _upper_qt_module)
FIND_PATH(QT_${_upper_qt_module}_INCLUDE_DIR ${QT_MODULE}
+ NO_CMAKE_PATH
+ NO_CMAKE_ENVIRONMENT_PATH
PATHS
${QT_HEADERS_DIR}/${QT_MODULE}
${QT_LIBRARY_DIR}/${QT_MODULE}.framework/Headers