mirror of https://github.com/PCSX2/pcsx2.git
3rdparty/cubeb: Fix build for ARM64
This commit is contained in:
parent
e03e8b602c
commit
3c69d5cf70
|
@ -33,10 +33,14 @@
|
||||||
<ItemDefinitionGroup>
|
<ItemDefinitionGroup>
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<WarningLevel>TurnOffAllWarnings</WarningLevel>
|
<WarningLevel>TurnOffAllWarnings</WarningLevel>
|
||||||
<PreprocessorDefinitions>USE_WASAPI;USE_WINMM;OUTSIDE_SPEEX;FLOATING_POINT;RANDOM_PREFIX=speex;EXPORT=;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>USE_WASAPI;OUTSIDE_SPEEX;FLOATING_POINT;RANDOM_PREFIX=speex;EXPORT=;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Platform)'!='ARM64'">USE_WINMM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>$(ProjectDir)include;$(ProjectDir)src;$(ProjectDir)subprojects;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(ProjectDir)include;$(ProjectDir)src;$(ProjectDir)subprojects;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<Lib>
|
||||||
|
<AdditionalDependencies Condition="'$(Platform)'!='ARM64'">ksuser.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Lib>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="include\cubeb\cubeb.h" />
|
<ClInclude Include="include\cubeb\cubeb.h" />
|
||||||
|
@ -69,7 +73,9 @@
|
||||||
<ClCompile Include="src\cubeb_strings.c" />
|
<ClCompile Include="src\cubeb_strings.c" />
|
||||||
<ClCompile Include="src\cubeb_utils.cpp" />
|
<ClCompile Include="src\cubeb_utils.cpp" />
|
||||||
<ClCompile Include="src\cubeb_wasapi.cpp" />
|
<ClCompile Include="src\cubeb_wasapi.cpp" />
|
||||||
<ClCompile Include="src\cubeb_winmm.c" />
|
<ClCompile Include="src\cubeb_winmm.c">
|
||||||
|
<ExcludedFromBuild Condition="'$(Platform)'=='ARM64'">true</ExcludedFromBuild>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="subprojects\speex\resample.c" />
|
<ClCompile Include="subprojects\speex\resample.c" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemDefinitionGroup>
|
<ItemDefinitionGroup>
|
||||||
|
|
Loading…
Reference in New Issue