cmake: don't set cmake_minimum_required

This commit is contained in:
Caleb Xu 2024-06-07 12:47:05 -04:00
parent 0ba0e448b9
commit eb222a6fe5
No known key found for this signature in database
GPG Key ID: 47E6040D07B8407D

View File

@ -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)