Merge pull request #17448 from alebcay/cmake-fix-min-version-fetchcontent
cmake: don't set cmake_minimum_required
This commit is contained in:
commit
633b46a7c2
@ -1,4 +1,6 @@
|
|||||||
cmake_minimum_required(VERSION 3.24) # Dependency providers introduced in CMake 3.24
|
# Dependency providers were introduced in CMake 3.24. We don't set cmake_minimum_required here because that would
|
||||||
|
# propagate to downstream projects, which may break projects that rely on deprecated CMake behavior. Since the build
|
||||||
|
# is using brewed CMake, we can assume that the CMake version in use is at least 3.24.
|
||||||
|
|
||||||
option(HOMEBREW_ALLOW_FETCHCONTENT "Allow FetchContent to be used in Homebrew builds" OFF)
|
option(HOMEBREW_ALLOW_FETCHCONTENT "Allow FetchContent to be used in Homebrew builds" OFF)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user