Browse Source

CMake Fixed version-info when the source code is not in a git repository.

tempestpy_adaptions
Tim Quatmann 4 years ago
parent
commit
ee56f5b2f9
  1. 2
      CMakeLists.txt

2
CMakeLists.txt

@ -445,7 +445,7 @@ set(STORM_VERSION_APPENDIX "${CMAKE_MATCH_5}") # might be empty
if (STORM_GIT_VERSION_STRING MATCHES "NOTFOUND")
set(STORM_VERSION_SOURCE "VersionSource::Static")
set(STORM_VERSION_COMMITS_AHEAD 0)
set(STORM_VERSION_DIRTY DirtyState:Unknown)
set(STORM_VERSION_DIRTY DirtyState::Unknown)
include(version.cmake)
message(WARNING "Storm - Git version information not available, statically assuming version ${STORM_VERSION_MAJOR}.${STORM_VERSION_MINOR}.${STORM_VERSION_PATCH}.")
else()
Loading…
Cancel
Save