mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-18 15:17:30 -05:00
Update CPM.cmake
This commit is contained in:
@@ -110,7 +110,7 @@ function(CPMAddPackage)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (CPM_ARGS_GITLAB_REPOSITORY)
|
if (CPM_ARGS_GITLAB_REPOSITORY)
|
||||||
list(APPEND CPM_ARGS_UNPARSED_ARGUMENTS GIT_REPOSITORY "https://gitlab.com/${CPM_ARGS_GITHUB_REPOSITORY}.git")
|
list(APPEND CPM_ARGS_UNPARSED_ARGUMENTS GIT_REPOSITORY "https://gitlab.com/${CPM_ARGS_GITLAB_REPOSITORY}.git")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (${CPM_ARGS_NAME} IN_LIST CPM_PACKAGES)
|
if (${CPM_ARGS_NAME} IN_LIST CPM_PACKAGES)
|
||||||
|
|||||||
Reference in New Issue
Block a user