Browse Source

fixed version output in cmake

tempestpy_adaptions
dehnert 8 years ago
parent
commit
44dc3e7d8d
  1. 3
      CMakeLists.txt

3
CMakeLists.txt

@ -371,8 +371,7 @@ if (STORM_VERSION_MAJOR STREQUAL "HEAD-HASH-NOTFOUND")
set(STORM_VERSION_COMMITS_AHEAD 0)
set(STORM_VERSION_DIRTY boost::none)
message(WARN "Storm - git version information not available.")
message(STATUS "Storm - version is ${STORM_VERSION_MAJOR}.${STORM_VERSION_MINOR}.${STORM_VERSION_PATCH}.")
message(WARNING "Storm - git version information not available, statically assuming version ${STORM_VERSION_MAJOR}.${STORM_VERSION_MINOR}.${STORM_VERSION_PATCH}.")
else()
if ("${STORM_VERSION_APPENDIX}" MATCHES "^.*dirty.*$")
set(STORM_VERSION_DIRTY "true")

Loading…
Cancel
Save