dd5f255c7e
Use the cmake method, and consolidate setting the language standard in one place. Change-Id: I96826c31955b1553ed1beb94203c99933075bb0a
11 rivejä
254 B
CMake
11 rivejä
254 B
CMake
|
|
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
|
|
|
include_directories(${OPENCL_ICD_LOADER_HEADERS_DIR})
|
|
|
|
add_definitions(-DHAVE_CL2_HPP -DCL_TARGET_OPENCL_VERSION=220)
|
|
|
|
add_executable(clinfo clinfo.cpp)
|
|
|
|
target_link_libraries(clinfo OpenCL)
|