blob: 652c32db285efd0f346de203af1d6e3df937ec75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# 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")
|