mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 02:59:07 +08:00
14 lines
368 B
Diff
14 lines
368 B
Diff
|
diff --git a/src/meson.build b/src/meson.build
|
||
|
index 9a6ba2021..5d04f7360 100644
|
||
|
--- a/src/meson.build
|
||
|
+++ b/src/meson.build
|
||
|
@@ -33,7 +33,7 @@ fc_sources = [
|
||
|
cpp = cc.cmd_array()
|
||
|
if cc.get_id() == 'gcc'
|
||
|
cpp += ['-E', '-P']
|
||
|
-elif cc.get_id() == 'msvc'
|
||
|
+elif cc.get_argument_syntax() == 'msvc'
|
||
|
cpp += ['/EP']
|
||
|
elif cc.get_id() == 'clang'
|
||
|
cpp += ['-E', '-P']
|