Skip to content

[physfs] Build error on x64-windows. Compatibility with CMake < 3.5 has been removed from CMake. #52473

Description

@NooneAtAll3-2

I apologize if this isn't issue in vcpkg, but I don't have much experience in builds and am very very confused...

Our builds are failing, but only on windows. And despite specifying "~3.31.0" as cmake version to install and having cmake_minimum_required (VERSION 3.25...3.29) in CMakeLists.txt, we get Compatibility with CMake < 3.5 has been removed from CMake. error

After staring at the logs, I think they are saying that when vcpkg is building physfs, it is calling C:/Program Files/Microsoft Visual Studio/18/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe - cmake that comes with VS compiler in github's windows image(?) - instead of newly installed/updated cmake that is specified in PATH.

But I don't understand what causes that - whether it's lukka/run-cmake deciding "windows build must use VS CMake", ninja looking at its own insides, vcpkg listing hardcoding something or error in https://github.com/icculus/physfs it downloads from

Again, I sincerely apologize if it's not an issue on your side, but I'm very confused and need some help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions