Skip to content

Commit

Permalink
made required STIR version to be at least 5.1, fixes #1096
Browse files Browse the repository at this point in the history
  • Loading branch information
evgueni-ovtchinnikov committed Feb 1, 2024
1 parent 48cd7ff commit 9f49584
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ if (DISABLE_STIR)
else()
find_package(STIR REQUIRED)
message(STATUS "STIR version found: ${STIR_VERSION}")
if (STIR_VERSION VERSION_LESS 5.0.0)
if (STIR_VERSION VERSION_LESS 5.1.0)
# Note: we support both version 5 and 6, so cannot put the version in the find_package statement
message(FATAL_ERROR "SIRF requires STIR version at least 5.0.0")
message(FATAL_ERROR "SIRF requires STIR version at least 5.1.0")
endif()
if (STIR_WITH_NiftyPET_PROJECTOR)
set(NiftyPET_BOOL_STR "1")
Expand Down

0 comments on commit 9f49584

Please sign in to comment.