From 6578102ae996ce0aa52b45704f38c1cd5a10d3c0 Mon Sep 17 00:00:00 2001 From: cnugteren Date: Wed, 30 Mar 2016 16:24:38 -0700 Subject: CMake now downloads the cl.hpp header from the Khronos website when building the samples --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 65debdf4..d3ad6889 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -164,6 +164,9 @@ endif() # This section contains all the code related to the examples if(SAMPLES) + # Downloads the cl.hpp file from Khronos + file(DOWNLOAD https://www.khronos.org/registry/cl/api/1.1/cl.hpp ${clblast_SOURCE_DIR}/samples/cl.hpp) + # Adds sample programs (C++) foreach(SAMPLE ${SAMPLE_PROGRAMS_CPP}) add_executable(clblast_sample_${SAMPLE} samples/${SAMPLE}.cc) -- cgit v1.2.3