Skip to content

Commit

Permalink
fixed version output in cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
cdehnert committed Mar 11, 2017
1 parent 97b33cf commit 44dc3e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 44dc3e7

Please sign in to comment.