Files
rocm-systems/opencl/tools/clinfo/CMakeLists.txt
T
Julia Jiang f44ca70bb7 Revert "SWDEV-444098 - remove rocm-ocl-icd packaging"
This reverts commit 5f68a4531a.

Reason for revert: due to windows staging branch using Opencl-icd-loader master

Change-Id: I9cca7564a21de1733665a34da6f0322aa3b886e7
2024-03-22 16:59:23 -04:00

11 wiersze
306 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)
INSTALL(TARGETS clinfo
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})