aboutsummaryrefslogtreecommitdiffstats
path: root/community/kdevelop/fix-find-clang-path.patch
blob: 5f64b648c70a5f9041d17b1bb6af88a84d0deef4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/cmake/modules/FindClang.cmake b/cmake/modules/FindClang.cmake
index 34a8c38198..9ebb9c4a58 100644
--- a/cmake/modules/FindClang.cmake
+++ b/cmake/modules/FindClang.cmake
@@ -106,9 +106,9 @@ if(CLANG_FOUND)
             PATHS "${CLANG_LIBRARY_DIRS}"
                   "${CLANG_INCLUDE_DIRS}"
             PATH_SUFFIXES "clang/${CLANG_VERSION}/include"
-                          "../../../clang/${CLANG_VERSION}/include"
+                          "../../clang/${CLANG_VERSION}/include"
                           "clang/${CLANG_VERSION_CLEAN}/include"
-                          "../../../clang/${CLANG_VERSION_CLEAN}/include"
+                          "../../clang/${CLANG_VERSION_CLEAN}/include"
             NO_DEFAULT_PATH
   )