From 70eff4b8bc85917bc2e8ff41f936b44aa7dd300f Mon Sep 17 00:00:00 2001 From: "C. G" Date: Mon, 4 Jul 2022 14:02:18 +0200 Subject: [PATCH] ENH: Enable configuration of superbuild dependencies tags * Enable easy regression debugging (e.g PlusToolkit/PlusLib#966) * Enable building a stable version of Plus based on provided tags --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e9a3f528f..5a9d042ec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,8 +60,8 @@ ENDIF() # Macro to set the Git repository and tag, and display a message MACRO(SetGitRepositoryTag project_name git_repository git_tag) SET(${project_name}_GIT_REPOSITORY ${git_repository}) - SET(${project_name}_GIT_TAG ${git_tag}) - MESSAGE(STATUS "${project_name} repository: ${git_repository} (${git_tag})") + SET(${project_name}_GIT_TAG ${git_tag} CACHE STRING "${project_name} repository") + MESSAGE(STATUS "${project_name} repository: ${git_repository} (${${project_name}_GIT_TAG})") ENDMACRO(SetGitRepositoryTag) IF (PLUSBUILD_OFFLINE_BUILD)