Files
rocm-systems/opencl/tools/clinfo/CMakeLists.txt
T
Matt Arsenault dd5f255c7e Don't add -std flag to CMAKE_CXX_FLAGS
Use the cmake method, and consolidate setting the language standard in
one place.

Change-Id: I96826c31955b1553ed1beb94203c99933075bb0a
2020-06-05 11:22:23 -04:00

11 lines
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)