5f68a4531a
Change-Id: If0234ff03cf86e1f0435e743c1df75a3e179d48c Jenifer helped trigger a combined PSDB for the below three changes https://gerrit-git.amd.com/c/compute/ec/prototype/+/1020194 https://gerrit-git.amd.com/c/compute/ec/clr/+/1003601 https://gerrit-git.amd.com/c/compute/ec/OpenCL-ICD-Loader/+/1012373 Combined PSDB was successful: http://rocm-ci.amd.com/job/compute-psdb-staging/27382/ Change-Id: If0234ff03cf86e1f0435e743c1df75a3e179d48c
11 lines
314 B
CMake
11 lines
314 B
CMake
add_executable(clinfo clinfo.cpp)
|
|
|
|
target_compile_definitions(clinfo PRIVATE CL_TARGET_OPENCL_VERSION=220 HAVE_CL2_HPP)
|
|
|
|
target_include_directories(clinfo PRIVATE ${OPENCL_ICD_LOADER_HEADERS_DIR})
|
|
|
|
target_link_libraries(clinfo OpenCL::OpenCL)
|
|
|
|
INSTALL(TARGETS clinfo
|
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|