You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
399 B
13 lines
399 B
2 years ago
|
# 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")
|