Skip to content

Commit

Permalink
cmake: enable CMAKE_INSTALL_RPATH_USE_LINK_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Oct 11, 2024
1 parent 9e62336 commit b7bee67
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 @@ -36,7 +36,7 @@ endif()
include(GNUInstallDirs)
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
set(CMAKE_BUILD_RPATH_USE_ORIGIN ON)
#set(CMAKE_INSTALL_RPATH_USE_LINK_PATH ON)
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH ON)
if(UNIX)
option(BUILD_SHARED_LIBS "Build shared libraries (.so or .dylib)." ON)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR})
Expand Down

0 comments on commit b7bee67

Please sign in to comment.