Skip to content

Commit

Permalink
[cmake] Fix rpath for ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaZotov committed Oct 28, 2024
1 parent e24d43f commit 62f5e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ message("Compiler: ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}, path:
if(APPLE)
set(CMAKE_INSTALL_RPATH "@loader_path;@loader_path/../lib;${SC_EXTENSIONS_DIRECTORY}")
else()
set(CMAKE_INSTALL_RPATH "$ORIGIN:$ORIGIN/../lib:${SC_EXTENSIONS_DIRECTORY}")
set(CMAKE_INSTALL_RPATH "$ORIGIN;$ORIGIN/../lib;${SC_EXTENSIONS_DIRECTORY}")
endif()

# Always use full RPATH
Expand Down

0 comments on commit 62f5e05

Please sign in to comment.