Files
OrcaSlicer-bambulab/deps_src/mcut/cmake/add_FetchContent_MakeAvailable.cmake
Louis Rossmann c661ddc2eb Initial release
2026-05-11 07:39:33 -05:00

8 lines
227 B
CMake

macro(FetchContent_MakeAvailable NAME)
FetchContent_GetProperties(${NAME})
if(NOT ${NAME}_POPULATED)
FetchContent_Populate(${NAME})
add_subdirectory(${${NAME}_SOURCE_DIR} ${${NAME}_BINARY_DIR})
endif()
endmacro()