Skip to content

Commit ac36d70

Browse files
committed
[build] Add RPATH to CPyCppyy library as well
1 parent 3c3252b commit ac36d70

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bindings/pyroot/cppyy/CPyCppyy/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ set_property(GLOBAL APPEND PROPERTY ROOT_EXPORTED_TARGETS cppyy)
118118
if(NOT MSVC)
119119
# Make sure that relative RUNPATH to main ROOT libraries is always correct.
120120
ROOT_APPEND_LIBDIR_TO_INSTALL_RPATH(cppyy ${CMAKE_INSTALL_PYTHONDIR})
121+
ROOT_APPEND_LIBDIR_TO_INSTALL_RPATH(CPyCppyy ${CMAKE_INSTALL_LIBDIR})
121122
endif()
122123

123124
# Install library

0 commit comments

Comments
 (0)