Azure/azure-sdk-for-c

Update minimum required cmake version to 3.11

RLeclair opened this issue · 0 comments

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