Skip to content

Commit

Permalink
Change verbosity of log messages in FindVersion module
Browse files Browse the repository at this point in the history
  • Loading branch information
daljit46 committed Jul 18, 2023
1 parent 1fc218c commit b61a82a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/FindVersion.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if(GIT_EXECUTABLE)
message(STATUS "Git found: ${GIT_EXECUTABLE}")
message(VERBOSE "Git found: ${GIT_EXECUTABLE}")
# Get tag
execute_process(
COMMAND ${GIT_EXECUTABLE} describe --abbrev=0
Expand All @@ -22,10 +22,10 @@ if(GIT_EXECUTABLE)
endif()

if(NOT GIT_TAG_ERROR AND NOT GIT_COMMIT_ERROR)
message(STATUS "Git tag: ${GIT_TAG}; Git commit: ${GIT_COMMIT}")
message(VERBOSE "Git tag: ${GIT_TAG}; Git commit: ${GIT_COMMIT}")
set(MRTRIX_VERSION ${GIT_COMMIT})
else()
message(STATUS "Git tag: not found.")
message(VERBOSE "Git tag: not found.")
endif()
endif()

Expand Down

0 comments on commit b61a82a

Please sign in to comment.