Fix binary rpath for Linux releases.
PiperOrigin-RevId: 461262210 Change-Id: If2d97176abef15bc250841ad518fd1f5915f698a
This commit is contained in:
committed by
Copybara-Service
parent
461f8ccbda
commit
c9ec2654a2
@@ -181,6 +181,7 @@ function(target_add_rpath)
|
|||||||
${_target}
|
${_target}
|
||||||
PROPERTIES INSTALL_RPATH ${_install_rpath}
|
PROPERTIES INSTALL_RPATH ${_install_rpath}
|
||||||
INSTALL_RPATH_USE_LINK_PATH ${_ARGS_USE_LINK_PATH}
|
INSTALL_RPATH_USE_LINK_PATH ${_ARGS_USE_LINK_PATH}
|
||||||
|
BUILD_WITH_INSTALL_RPATH TRUE
|
||||||
MACOSX_RPATH ON # This is ON by default.
|
MACOSX_RPATH ON # This is ON by default.
|
||||||
)
|
)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|||||||
Reference in New Issue
Block a user