nixpkgs/pkgs/desktops/kde-4.4/libs/findqt4.patch
Lluís Batlle i Rossell 3672eaf275 Forgot the patch for kde-4.4 findqt4.
svn path=/nixpkgs/trunk/; revision=19961
2010-02-12 17:04:15 +00:00

14 lines
561 B
Diff

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