mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 05:45:38 +00:00
dep/vixl: Fix build with clang-cl
This commit is contained in:
parent
60cd1d540c
commit
9fc736eaa0
|
@ -48,7 +48,7 @@ namespace vixl {
|
|||
#ifdef __GNUC__
|
||||
#define VIXL_HAS_DEPRECATED_WITH_MSG
|
||||
#elif defined(__clang__)
|
||||
#ifdef __has_extension(attribute_deprecated_with_message)
|
||||
#if __has_extension(attribute_deprecated_with_message)
|
||||
#define VIXL_HAS_DEPRECATED_WITH_MSG
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -156,6 +156,7 @@
|
|||
<WarningLevel>TurnOffAllWarnings</WarningLevel>
|
||||
<PreprocessorDefinitions>$(VixlPreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)include;$(ProjectDir)include\vixl;$(VixlIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalOptions Condition="$(Configuration.Contains(Clang))"> -Wno-deprecated-enum-enum-conversion %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
|
|
Loading…
Reference in a new issue