mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 05:10:10 -05:00
2aa83fa15b
Fixes: #22619
13 lines
399 B
CMake
13 lines
399 B
CMake
# Force the provider to be invoked for each method
|
|
find_package(AThing QUIET)
|
|
message(STATUS "AThing_FOUND = ${AThing_FOUND}")
|
|
|
|
# These declared details should always succeed when used
|
|
include(FetchContent)
|
|
FetchContent_Declare(SomeDep
|
|
SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}
|
|
SOURCE_SUBDIR DoesNotExist
|
|
)
|
|
FetchContent_MakeAvailable(SomeDep)
|
|
message(STATUS "FetchContent_MakeAvailable() succeeded")
|