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
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user