Skip to content

Commit

Permalink
Update CMakeMM.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
flagarde authored Nov 1, 2021
1 parent 7cd5b84 commit bd1b86d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CMakeMM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@ endif()
# Do the update check
function(cmmm_changes CHANGELOG_VERSION)
if(${CMMM_VERSION} VERSION_LESS ${CHANGELOG_VERSION})
message("${BoldGreen}- Changes in ${CHANGELOG_VERSION} :${Reset}")
message("${BoldGreen} - Changes in ${CHANGELOG_VERSION} :${Reset}")
foreach(CMMM_CHANGE IN LISTS ARGN)
message("${BoldGreen}- ${CMMM_CHANGE}${Reset}")
message("${BoldGreen} - ${CMMM_CHANGE}${Reset}")
endforeach()
endif()
endfunction()

# Print the changelog
function(print_changelog)
message("${BoldGreen}## [CMakeMM] Using CMakeMM version ${CMMM_VERSION}. The latest is ${CMMM_LATEST_VERSION}.${Reset}")
message("${BoldGreen} Changes since ${CMMM_VERSION} include the following :${Reset}")
message("${BoldGreen}Changes since ${CMMM_VERSION} include the following :${Reset}")
changelog()
message("${BoldGreen} To update, simply change the value of VERSION in cmmm function.${Reset}")
message("${BoldGreen} You can disable these messages by setting IGNORE_NEW_VERSION in cmmm function. ##${Reset}")
message("${BoldGreen}To update, simply change the value of VERSION in cmmm function.${Reset}")
message("${BoldGreen}You can disable these messages by setting IGNORE_NEW_VERSION in cmmm function. ##${Reset}")
endfunction()

# Check updates
Expand Down

0 comments on commit bd1b86d

Please sign in to comment.