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

This commit is contained in:
Axel Kohlmeyer
2020-04-21 12:50:27 -04:00
parent 3c144600a5
commit 0f9d8efe69

View File

@ -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()