Skip to content

Update minimum required cmake version to 3.11 #2543

Description

@RLeclair

Describe the bug
Minimum version of cmake (3.10) does not have FetchContent which is required for auto-vcpkg. Need to update required version to 3.11.

Exception or Stack Trace
CMake Error at cmake-modules/AzureVcpkg.cmake:25 (include):
include could not find load file:
FetchContent

To Reproduce
Clone the repo on a system using cmake version 3.10. Create build folder and do cmake ... Should see the error.

Expected behavior
Expected to configure CMake automatically without an issue.

Setup (please complete the following information):

  • OS: Any
  • IDE: VSCode
  • Version of the Library used: CMake 3.10

Additional context
Fetch Content was only added until CMake 3.11
See: https://cmake.org/cmake/help/latest/module/FetchContent.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue requires a change to an existing behavior in the product in order to be resolved.

    Type

    No type

    Fields

    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