mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2024-11-16 22:45:18 +00:00
11 lines
383 B
CMake
11 lines
383 B
CMake
# Provides backwards compatibility for FetchContent_MakeAvailable
|
|
if(${CMAKE_VERSION} VERSION_LESS 3.14)
|
|
macro(FetchContent_MakeAvailable NAME)
|
|
FetchContent_GetProperties(${NAME})
|
|
if(NOT ${NAME}_POPULATED)
|
|
FetchContent_Populate(${NAME})
|
|
add_subdirectory(${${NAME}_SOURCE_DIR} ${${NAME}_BINARY_DIR})
|
|
endif()
|
|
endmacro()
|
|
endif()
|