Browse Source

[cmake] print commit-based version if option is used

Signed-off-by: r4sas <r4sas@i2pmail.org>
pull/1928/merge
R4SAS 2 years ago
parent
commit
a2726cf206
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 4
      build/CMakeLists.txt

4
build/CMakeLists.txt

@ -329,7 +329,11 @@ message(STATUS " LIBRARY : ${WITH_LIBRARY}") @@ -329,7 +329,11 @@ message(STATUS " LIBRARY : ${WITH_LIBRARY}")
message(STATUS " BINARY : ${WITH_BINARY}")
message(STATUS " STATIC BUILD : ${WITH_STATIC}")
message(STATUS " UPnP : ${WITH_UPNP}")
if(WITH_GIT_VERSION)
message(STATUS " GIT VERSION : ${WITH_GIT_VERSION} (${GIT_VERSION})")
else()
message(STATUS " GIT VERSION : ${WITH_GIT_VERSION}")
endif()
message(STATUS " ADDRSANITIZER : ${WITH_ADDRSANITIZER}")
message(STATUS " THREADSANITIZER : ${WITH_THREADSANITIZER}")
message(STATUS "---------------------------------------")

Loading…
Cancel
Save