mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 15:19:51 -05:00
29e31e2825
Allow FetchContent_MakeAvailable() to try a call to find_package() first, or redirect a find_package() call to FetchContent_MakeAvailable(). The user can set variables to control which of these are allowed or tried by default. Fixes: #21687
8 lines
218 B
CMake
8 lines
218 B
CMake
cmake_minimum_required(VERSION 3.23)
|
|
project(${RunCMake_TEST} NONE)
|
|
|
|
# Tests assume no previous downloads in the output directory
|
|
file(REMOVE_RECURSE ${CMAKE_CURRENT_BINARY_DIR}/_deps)
|
|
|
|
include(${RunCMake_TEST}.cmake)
|