We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 88e1c55 + b321d88 commit aab3c3cCopy full SHA for aab3c3c
1 file changed
examples/CMakeLists.txt
@@ -57,8 +57,8 @@ FOREACH(FILE ${FILES})
57
BUILD_EXAMPLE(${EXAMPLE} ${FILE} cuda afcuda)
58
endif()
59
60
- if(${ArrayFire_OPENCL_FOUND}) # variable defined by FIND(ArrayFire ...)
61
- BUILD_EXAMPLE(${EXAMPLE} ${FILE} opencl ${ArrayFire_OPENCL_LIBRARIES})
+ if(${ArrayFire_OpenCL_FOUND}) # variable defined by FIND(ArrayFire ...)
+ BUILD_EXAMPLE(${EXAMPLE} ${FILE} opencl ${ArrayFire_OpenCL_LIBRARIES})
62
elseif(TARGET afopencl) # variable defined by the ArrayFire build tree
63
BUILD_EXAMPLE(${EXAMPLE} ${FILE} opencl afopencl)
64
0 commit comments