Skip to content

Commit

Permalink
updated cmake versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelyr committed Nov 15, 2024
1 parent a545037 commit 59fc170
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,18 @@ set(pumipic_USE_Kokkos_DEFAULT ON)
bob_public_dep(Kokkos)
set(KOKKOS_ENABLED true)

if(Kokkos_VERSION VERSION_LESS 4.0.01)
message(FATAL_ERROR "Kokkos version >= 4.0.01 required.")
if(Kokkos_VERSION VERSION_LESS 4.2.00)
message(FATAL_ERROR "Kokkos version >= 4.2.00 required.")
endif()

if(Omega_h_VERSION VERSION_LESS 10.8.0)
message(FATAL_ERROR "Omega_h version >= 10.8.0 required.")
endif()

if(EnGPar_VERSION VERSION_LESS 1.1.0)
message(FATAL_ERROR "EnGPar version >= 1.1.0 required.")
endif()

set(debug_flag)
if (PP_ENABLE_DEBUG_SYMBOLS)
set(debug_flag "-g")
Expand Down

0 comments on commit 59fc170

Please sign in to comment.