1 2 3 4 5 6 7 8
include(FetchContent) FetchContent_Declare( WithProject SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/ADirThatDoesNotExist ) FetchContent_MakeAvailable(WithProject)