aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/scripts/cmake/compile_wrapper_consider_clang-cl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/scripts/cmake/compile_wrapper_consider_clang-cl.patch')
-rw-r--r--vcpkg/scripts/cmake/compile_wrapper_consider_clang-cl.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/scripts/cmake/compile_wrapper_consider_clang-cl.patch b/vcpkg/scripts/cmake/compile_wrapper_consider_clang-cl.patch
new file mode 100644
index 0000000..c3666ec
--- /dev/null
+++ b/vcpkg/scripts/cmake/compile_wrapper_consider_clang-cl.patch
@@ -0,0 +1,12 @@
+diff --git a/usr/share/automake-1.16/compile b/usr/share/automake-1.16/compile
+index 2078fc833..dfc946593 100755
+--- a/usr/share/automake-1.16/compile
++++ b/usr/share/automake-1.16/compile
+@@ -256,6 +256,7 @@ EOF
+ exit $?
+ ;;
+ cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
++ clang-cl | *[/\\]clang-cl | clang-cl.exe | *[/\\]clang-cl.exe | \
+ icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
+ func_cl_wrapper "$@" # Doesn't return...
+ ;;