Other: fix for windows build and default to MSVC toolchain on Windows.

This commit is contained in:
Xavier Michelon
2022-07-27 06:50:25 +02:00
committed by Jakub
parent 2e4128dcfe
commit 033139677b
3 changed files with 8 additions and 4 deletions

View File

@ -42,7 +42,7 @@ if (APPLE)
endif()
if (WIN32)
set(VCPKG_TARGET_TRIPLET x64-mingw-static)
set(VCPKG_TARGET_TRIPLET x64-windows)
endif()
set(CMAKE_TOOLCHAIN_FILE "$ENV{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" CACHE STRING "toolchain")