diff --git a/cmake/Vcpkg.cmake b/cmake/Vcpkg.cmake index c8848ae..7d95018 100644 --- a/cmake/Vcpkg.cmake +++ b/cmake/Vcpkg.cmake @@ -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) diff --git a/scripts/windows/1-configure.sh b/scripts/windows/1-configure.sh index 0f58888..d34dc6c 100644 --- a/scripts/windows/1-configure.sh +++ b/scripts/windows/1-configure.sh @@ -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