Skip to content

Commit

Permalink
Update ParallelProj minimum version (#1150)
Browse files Browse the repository at this point in the history
Update ParallelProj minimum version to 1.0.1 as 1.0.0 had a bug causing compilation errors.
  • Loading branch information
samdporter authored Feb 15, 2023
1 parent b901d1e commit 2e68f4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -197,16 +197,16 @@ endif()

# Parallelproj
if(NOT DISABLE_Parallelproj_PROJECTOR)
find_package(parallelproj 1.0 CONFIG)
find_package(parallelproj 1.0.1 CONFIG)
if (parallelproj_FOUND)
set(STIR_WITH_Parallelproj_PROJECTOR ON)
if (parallelproj_built_with_CUDA)
message(STATUS "Found parallelproj ${parallelproj_VERSION} (will use its CUDA support)")
else()
message(STATUS "Found parallelproj ${parallelproj_VERSION} (but using its OpenMP version as it wasn't built with CUDA)")
endif()
if (parallelproj_VERSION VERSION_LESS 1.2.13)
message(STATUS "If the above parallelproj info looks incorrect, upgrade it to at least 1.2.13")
if (parallelproj_VERSION VERSION_LESS 1.0.1)
message(STATUS "If the above parallelproj info looks incorrect, upgrade it to at least 1.0.1 (but 1.2.13 or later is recommended)")
endif()
endif()
endif()
Expand Down

0 comments on commit 2e68f4d

Please sign in to comment.