aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kdevelop/fix-find-clang-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/kdevelop/fix-find-clang-path.patch')
-rw-r--r--testing/kdevelop/fix-find-clang-path.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/kdevelop/fix-find-clang-path.patch b/testing/kdevelop/fix-find-clang-path.patch
new file mode 100644
index 0000000000..5f64b648c7
--- /dev/null
+++ b/testing/kdevelop/fix-find-clang-path.patch
@@ -0,0 +1,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
+ )
+