From 5def5e40146f64cd86c1bf73d9401761adf86a1c Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Mon, 7 Jun 2021 00:43:09 -0700 Subject: [PATCH] this will fail in CI; I need to debug it more --- cmake/GetLibInfo.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/GetLibInfo.cmake b/cmake/GetLibInfo.cmake index 639e792..71eb161 100644 --- a/cmake/GetLibInfo.cmake +++ b/cmake/GetLibInfo.cmake @@ -1,7 +1,7 @@ # get lib info from the git cmds execute_process(COMMAND git config --get remote.origin.url OUTPUT_VARIABLE CMAKE_PROJECT_HOMEPAGE_URL) string(STRIP CMAKE_PROJECT_HOMEPAGE_URL ${CMAKE_PROJECT_HOMEPAGE_URL}) - +message("URL = ${CMAKE_PROJECT_HOMEPAGE_URL}") # use URL to get repo owner as Contact/Maintainer name string(REGEX REPLACE "^http[s]?://github.com/(.+)/.+\\.git" "\\1" CPACK_PACKAGE_CONTACT "${CMAKE_PROJECT_HOMEPAGE_URL}") string(STRIP "${CPACK_PACKAGE_CONTACT}" CPACK_PACKAGE_CONTACT)