Update CPM.cmake

This commit is contained in:
Lars Melchior
2019-05-20 17:53:37 +02:00
committed by GitHub
parent bd9143bfa0
commit 9c2c34f487

View File

@@ -110,7 +110,7 @@ function(CPMAddPackage)
endif()
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()
if (${CPM_ARGS_NAME} IN_LIST CPM_PACKAGES)
@@ -207,4 +207,4 @@ It is recommended to upgrade CPM to the most recent version. \
See https://github.com/TheLartians/CPM for more information."
)
endfunction()
endfunction()