Skip to content

Commit baa00b3

Browse files
require STIR 6.3
1 parent c5ceaff commit baa00b3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ if (DISABLE_STIR)
5656
set(Parallelproj_BOOL_STR "0" PARENT_SCOPE)
5757
set(STIR_WITH_CUDA_BOOL_STR "0" PARENT_SCOPE)
5858
else()
59-
find_package(STIR REQUIRED)
59+
find_package(STIR 6.3 REQUIRED)
6060
message(STATUS "STIR version found: ${STIR_VERSION}")
61-
if (STIR_VERSION VERSION_LESS 5.1.0)
62-
# Note: we support both version 5 and 6, so cannot put the version in the find_package statement
63-
message(FATAL_ERROR "SIRF requires STIR version at least 5.1.0")
64-
endif()
61+
#if (STIR_VERSION VERSION_LESS 5.1.0)
62+
# # Note: we support both version 5 and 6, so cannot put the version in the find_package statement
63+
# message(FATAL_ERROR "SIRF requires STIR version at least 5.1.0")
64+
#endif()
6565
if (STIR_WITH_NiftyPET_PROJECTOR)
6666
set(NiftyPET_BOOL_STR "1")
6767
message(STATUS "STIR was built with NiftyPET, GPU projectors will be enabled.")

0 commit comments

Comments
 (0)