fix target triplet in windows workflow

This commit is contained in:
Lion Kortlepel
2023-12-05 15:08:54 +01:00
parent c36d6a8380
commit 0c3adb8899
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
if(NOT DEFINED CMAKE_TOOLCHAIN_FILE)
if (WIN32)
set(VCPKG_TARGET_TRIPLET x64-windows-static)
endif(WIN32)
endif()
if(NOT EXISTS ${CMAKE_SOURCE_DIR}/vcpkg/scripts/buildsystems/vcpkg.cmake)
find_package(Git)
if(Git_FOUND)

View File

@@ -2,4 +2,4 @@
set -ex
cmake . -B bin $1 -DCMAKE_BUILD_TYPE=Release -DBeamMP-Server_ENABLE_LTO=ON
cmake . -B bin $1 -DCMAKE_BUILD_TYPE=Release -DBeamMP-Server_ENABLE_LTO=ON -DVCPKG_TARGET_TRIPLET=x64-windows-static