mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-22 17:47:55 +08:00
0399e7964a
* [arrayfire] Fix feature opencl dependency clFFT * version * Add homepage and license * version
15 lines
507 B
Diff
15 lines
507 B
Diff
diff --git a/src/backend/opencl/CMakeLists.txt b/src/backend/opencl/CMakeLists.txt
|
|
index f970da0..b543433 100644
|
|
--- a/src/backend/opencl/CMakeLists.txt
|
|
+++ b/src/backend/opencl/CMakeLists.txt
|
|
@@ -12,7 +12,8 @@ set_property(CACHE AF_OPENCL_BLAS_LIBRARY PROPERTY STRINGS "clBLAS" "CLBlast")
|
|
|
|
af_deprecate(OPENCL_BLAS_LIBRARY AF_OPENCL_BLAS_LIBRARY)
|
|
|
|
-include(build_clFFT)
|
|
+find_package(clFFT CONFIG REQUIRED)
|
|
+add_library(clFFT::clFFT ALIAS clFFT)
|
|
|
|
file(GLOB kernel_src kernel/*.cl kernel/KParam.hpp)
|
|
|