Updater: Add VC runtime check

This commit is contained in:
Stenzek 2024-06-10 13:02:20 +10:00
parent 484c1dccd4
commit e11f73ede2
No known key found for this signature in database
3 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,7 @@ if(WIN32)
win32_main.cpp win32_main.cpp
win32_progress_callback.cpp win32_progress_callback.cpp
win32_progress_callback.h win32_progress_callback.h
../duckstation-qt/vcruntimecheck.cpp
) )
target_link_libraries(updater PRIVATE "Comctl32.lib") target_link_libraries(updater PRIVATE "Comctl32.lib")
set_target_properties(updater PROPERTIES WIN32_EXECUTABLE TRUE) set_target_properties(updater PROPERTIES WIN32_EXECUTABLE TRUE)

View File

@ -2,6 +2,7 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\dep\msvc\vsprops\Configurations.props" /> <Import Project="..\..\dep\msvc\vsprops\Configurations.props" />
<ItemGroup> <ItemGroup>
<ClCompile Include="..\duckstation-qt\vcruntimecheck.cpp" />
<ClCompile Include="win32_main.cpp" /> <ClCompile Include="win32_main.cpp" />
<ClCompile Include="updater.cpp" /> <ClCompile Include="updater.cpp" />
<ClCompile Include="win32_progress_callback.cpp" /> <ClCompile Include="win32_progress_callback.cpp" />

View File

@ -4,6 +4,7 @@
<ClCompile Include="updater.cpp" /> <ClCompile Include="updater.cpp" />
<ClCompile Include="win32_main.cpp" /> <ClCompile Include="win32_main.cpp" />
<ClCompile Include="win32_progress_callback.cpp" /> <ClCompile Include="win32_progress_callback.cpp" />
<ClCompile Include="..\duckstation-qt\vcruntimecheck.cpp" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Manifest Include="updater.manifest" /> <Manifest Include="updater.manifest" />