2.0.6
This commit is contained in:
@ -51,7 +51,9 @@ function(FetchContent_Add NAME)
|
||||
GIT_SHALLOW 1
|
||||
)
|
||||
|
||||
if(NOT ${NAME}_POPULATED)
|
||||
string(TOLOWER ${NAME} lower_name)
|
||||
FetchContent_GetProperties(${NAME})
|
||||
if(NOT ${lower_name}_POPULATED)
|
||||
FetchContent_Populate(${NAME})
|
||||
add_subdirectory(${${NAME}_SOURCE_DIR} ${${NAME}_BINARY_DIR})
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user