From 9c2c34f4879218775613eba8588539d5d47938ca Mon Sep 17 00:00:00 2001 From: Lars Melchior Date: Mon, 20 May 2019 17:53:37 +0200 Subject: [PATCH] Update CPM.cmake --- cmake/CPM.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/CPM.cmake b/cmake/CPM.cmake index 5c15bc1..c4e0030 100644 --- a/cmake/CPM.cmake +++ b/cmake/CPM.cmake @@ -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() \ No newline at end of file +endfunction()