1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Set CMAKE_POLICY_VERSION_MINIMUM=3.5 to make MSVC CI work again (#15978)

Co-authored-by: Josiah VanderZee <josiah_vanderzee@mediacombb.net>
This commit is contained in:
Lars Müller 2025-04-04 18:46:03 +02:00 committed by GitHub
parent 66dedf1e21
commit 884f411387
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -106,10 +106,12 @@ jobs:
vcpkgTriplet: ${{ matrix.config.vcpkg_triplet }}
- name: CMake
# Note: See #15976 for why CMAKE_POLICY_VERSION_MINIMUM=3.5 is set.
run: |
cmake ${{matrix.config.generator}} `
-DCMAKE_TOOLCHAIN_FILE="${{ github.workspace }}\vcpkg\scripts\buildsystems\vcpkg.cmake" `
-DCMAKE_BUILD_TYPE=Release `
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 `
-DENABLE_POSTGRESQL=OFF `
-DENABLE_LUAJIT=TRUE `
-DREQUIRE_LUAJIT=TRUE `