Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Serein207 committed Sep 26, 2024
1 parent 14236cb commit 848f6a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
}
cmake --preset native @additionalConfigureArgs
cmake --build --preset native-release -DVCPKG_USE_HOST_TOOLS=1
cmake --build --preset native-release
- name: Archive files
shell: pwsh
Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
# MSVC Runtime Library Selection
if (VCPKG_TARGET_TRIPLET MATCHES "-windows-static$")
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
set(VCPKG_USE_HOST_TOOLS ON)
endif()

list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/.cmake/)
Expand Down

0 comments on commit 848f6a7

Please sign in to comment.