Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update minimum required cmake version to 3.11 #2543

Open
RLeclair opened this issue Apr 17, 2023 · 0 comments
Open

Update minimum required cmake version to 3.11 #2543

RLeclair opened this issue Apr 17, 2023 · 0 comments
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved.

Comments

@RLeclair
Copy link
Member

RLeclair commented Apr 17, 2023

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

@RLeclair RLeclair added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Apr 17, 2023
@RLeclair RLeclair changed the title Update minimum required vcpkg version to 3.11 Update minimum required cmake version to 3.11 Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved.
Projects
None yet
Development

No branches or pull requests

1 participant