From ee63dd0dc51900bb9dbd677c57408aae1ac2ff35 Mon Sep 17 00:00:00 2001 From: Ranjith Ramakrishnan Date: Thu, 16 Feb 2023 17:18:17 -0800 Subject: [PATCH] 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 [ROCm/clr commit: 067beca608a2e9248471dce65852d444d697a184] --- projects/clr/opencl/tools/clinfo/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/projects/clr/opencl/tools/clinfo/CMakeLists.txt b/projects/clr/opencl/tools/clinfo/CMakeLists.txt index f2e829f0f7..2af51a0d6b 100644 --- a/projects/clr/opencl/tools/clinfo/CMakeLists.txt +++ b/projects/clr/opencl/tools/clinfo/CMakeLists.txt @@ -6,7 +6,5 @@ target_include_directories(clinfo PRIVATE "../../khronos/headers/opencl2.2/CL" target_link_libraries(clinfo OpenCL) -set_target_properties(clinfo PROPERTIES INSTALL_RPATH "${CPACK_PACKAGING_INSTALL_PREFIX}/lib") - INSTALL(TARGETS clinfo RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})