ファイル
rocm-systems/opencl/tools/clinfo/CMakeLists.txt
T
Ranjith Ramakrishnan 067beca608 SWDEV-383843 - Use relative path for RUNPATH
Build script was passing relative path for setting the RUNPATH. But clinfo is overriding it and using absolute paths
Removed the same from source code

Change-Id: I505e7fdc84c53d147f3afbc6c4133f906de2110f
2023-02-17 11:31:48 -05:00

11 行
490 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 "../../khronos/headers/opencl2.2/CL" "../../khronos/headers/opencl2.2/CL/.." "../../khronos/headers/opencl2.2/CL/../.." "../../khronos/headers/opencl2.2/CL/../../.." "../../khronos/headers/opencl2.2/CL/../../../..")
target_link_libraries(clinfo OpenCL)
INSTALL(TARGETS clinfo
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})