Skip to content

Commit

Permalink
Add missing version
Browse files Browse the repository at this point in the history
  • Loading branch information
tpadioleau committed Oct 6, 2024
1 parent ea391ca commit 1bbc983
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 1bbc983

Please sign in to comment.