From 2aa7176d462b5e6c634d7b8e954d03f1007cc4c1 Mon Sep 17 00:00:00 2001 From: starlord Date: Wed, 30 Oct 2019 11:21:28 +0800 Subject: [PATCH] show branch name Former-commit-id: 8c5eca7a3372f553b13a349ad0e5407ec3683bf2 --- core/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 51cb2270..ae4366af 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -36,6 +36,7 @@ MACRO (GET_GIT_BRANCH_NAME GIT_BRANCH_NAME) ENDMACRO (GET_GIT_BRANCH_NAME) GET_GIT_BRANCH_NAME(GIT_BRANCH_NAME) +message(STATUS "GIT_BRANCH_NAME = ${GIT_BRANCH_NAME}") if(NOT GIT_BRANCH_NAME STREQUAL "") string(REGEX REPLACE "\n" "" GIT_BRANCH_NAME ${GIT_BRANCH_NAME}) endif() -- GitLab