diff --git a/CMakeLists.txt b/CMakeLists.txt index 31f10088c..78f1ceafe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,7 +48,7 @@ set(DDC_Kokkos_DEPENDENCY_POLICY set_property(CACHE DDC_Kokkos_DEPENDENCY_POLICY PROPERTY STRINGS "${DDC_DEPENDENCY_POLICIES}") if("${DDC_Kokkos_DEPENDENCY_POLICY}" STREQUAL "AUTO") if(NOT TARGET Kokkos::kokkos) - find_package(Kokkos 4.4...4.5 QUIET) + find_package(Kokkos 4.4...<5 QUIET) if(NOT Kokkos_FOUND) ddc_configure_kokkos() endif() @@ -56,7 +56,7 @@ if("${DDC_Kokkos_DEPENDENCY_POLICY}" STREQUAL "AUTO") elseif("${DDC_Kokkos_DEPENDENCY_POLICY}" STREQUAL "EMBEDDED") ddc_configure_kokkos() elseif("${DDC_Kokkos_DEPENDENCY_POLICY}" STREQUAL "INSTALLED") - find_package(Kokkos 4.4...4.5 REQUIRED) + find_package(Kokkos 4.4...<5 REQUIRED) endif() ## PDI diff --git a/cmake/DDCConfig.cmake.in b/cmake/DDCConfig.cmake.in index d09ad8481..beaa15f5f 100644 --- a/cmake/DDCConfig.cmake.in +++ b/cmake/DDCConfig.cmake.in @@ -14,7 +14,7 @@ endmacro() set(DDC_BUILD_DOUBLE_PRECISION @DDC_BUILD_DOUBLE_PRECISION@) -ddc_find_dependency(Kokkos 4.4...4.5) +ddc_find_dependency(Kokkos 4.4...<5) if(@DDC_BUILD_KERNELS_FFT@) ddc_find_dependency(KokkosFFT 0.2.1...<1) diff --git a/vendor/kokkos b/vendor/kokkos index 15dc143e5..3459811c8 160000 --- a/vendor/kokkos +++ b/vendor/kokkos @@ -1 +1 @@ -Subproject commit 15dc143e5f39949eece972a798e175c4b463d4b8 +Subproject commit 3459811c805a21cd88ab6431fad27c41f45fd983