diff --git a/CMakeLists.txt b/CMakeLists.txt index 28697f032..0ec477e10 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -173,7 +173,7 @@ if("${DDC_BUILD_KERNELS_FFT}") if("${DDC_KokkosFFT_DEPENDENCY_POLICY}" STREQUAL "AUTO") if(NOT TARGET KokkosFFT::fft) - find_package(KokkosFFT CONFIG QUIET) + find_package(KokkosFFT 0.2 CONFIG QUIET) if(NOT KokkosFFT_FOUND) option(KokkosFFT_ENABLE_HOST_AND_DEVICE "Enable FFT on both host and device" ON) add_subdirectory(vendor/kokkos-fft) @@ -183,7 +183,7 @@ if("${DDC_BUILD_KERNELS_FFT}") option(KokkosFFT_ENABLE_HOST_AND_DEVICE "Enable FFT on both host and device" ON) add_subdirectory(vendor/kokkos-fft) elseif("${DDC_KokkosFFT_DEPENDENCY_POLICY}" STREQUAL "INSTALLED") - find_package(KokkosFFT CONFIG REQUIRED) + find_package(KokkosFFT 0.2 CONFIG REQUIRED) endif() target_link_libraries(DDC INTERFACE KokkosFFT::fft)