Unverified Commit 0f9d8efe authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

state in external Kokkos error message the version 3.1 or later is required

parent 3c144600
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ if(DOWNLOAD_KOKKOS)
elseif(EXTERNAL_KOKKOS)
  find_package(Kokkos 3.1)
  if(NOT Kokkos_FOUND)
    message(FATAL_ERROR "KOKKOS library not found, help CMake to find it by setting KOKKOS_LIBRARY, or set DOWNLOAD_KOKKOS=ON to download it")
    message(FATAL_ERROR "KOKKOS library version 3.1 or later not found, help CMake to find it by setting KOKKOS_LIBRARY, or set DOWNLOAD_KOKKOS=ON to download it")
  endif()
  target_link_libraries(lammps PRIVATE Kokkos::kokkos)
else()