cmake/Tests/RunCMake/FetchContent/ExcludeFromAll.cmake

12 lines
201 B
CMake
Raw Normal View History

2023-12-07 09:12:54 +01:00
enable_language(C)
include(FetchContent)
FetchContent_Declare(
ExcludeFromAll
SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/ExcludeFromAll
EXCLUDE_FROM_ALL
)
FetchContent_MakeAvailable(ExcludeFromAll)