2.0.6
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
set(MYX_CMAKE_PACKAGE_VERSION "2.0.5")
|
||||
set(MYX_CMAKE_PACKAGE_VERSION "2.0.6")
|
||||
if(MYX_CMAKE_PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
|
@ -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