aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kdevelop/fix-find-clang-path.patch
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-28 22:05:09 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-03-01 10:02:20 +0100
commite2581c4b73649cc9300e751ddd3a311774f61d91 (patch)
tree6aa75c9844fd114774307dd21b078151f7664756 /testing/kdevelop/fix-find-clang-path.patch
parent880520ffbb26391b888242abac2b857bdc25eb42 (diff)
downloadaports-e2581c4b73649cc9300e751ddd3a311774f61d91.tar.bz2
aports-e2581c4b73649cc9300e751ddd3a311774f61d91.tar.xz
testing/kdevelop: new aport
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
+ )
+