Fix opencl.hpp download in CMake

pull/442/head
Cedric Nugteren 2022-09-27 21:11:17 +02:00
parent 5c608d97cd
commit e080635019
1 changed files with 2 additions and 2 deletions

View File

@ -374,9 +374,9 @@ endif()
# This section contains all the code related to the examples
if(SAMPLES)
# Downloads the cl.hpp file from Khronos
# Downloads the opencl.hpp file from Khronos
if(OPENCL)
file(DOWNLOAD https://raw.githubusercontent.com/KhronosGroup/OpenCL-CLHPP/main/include/CL/opencl.hpp ${clblast_SOURCE_DIR}/samples/cl.hpp)
file(DOWNLOAD https://raw.githubusercontent.com/KhronosGroup/OpenCL-CLHPP/main/include/CL/opencl.hpp ${clblast_SOURCE_DIR}/samples/opencl.hpp)
endif()
# Adds sample programs (C++)