Skip to content

Commit b4f78aa

Browse files
committed
[Bindings] ADD current dir to RPATH
1 parent fc7664e commit b4f78aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bindings/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,16 @@ endif()
88
# This will set rpaths relative to SP3 plugin library
99
if(UNIX)
1010
set(CMAKE_INSTALL_RPATH
11+
"$ORIGIN"
12+
"$$ORIGIN"
1113
"$ORIGIN/../lib"
1214
"$$ORIGIN/../lib"
1315
)
1416
if(APPLE)
1517
set(CMAKE_MACOSX_RPATH ON)
1618
list(APPEND CMAKE_INSTALL_RPATH
19+
"@loader_path"
20+
"@executable_path"
1721
"@loader_path/../lib"
1822
"@executable_path/../lib"
1923
)

0 commit comments

Comments
 (0)