Skip to content

Commit

Permalink
Merge pull request #1986 from panakuma/fix-cmake-lib-dir
Browse files Browse the repository at this point in the history
Change var of CMAKE_INSTALL_RPATH
  • Loading branch information
chipitsine committed May 4, 2024
2 parents 9ce27f3 + f8c5fa5 commit 99e277a
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 @@ -53,7 +53,7 @@ if(UNIX)
#
# use rpath for locating installed libraries
#
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)

include(CheckIncludeFile)
Expand Down

0 comments on commit 99e277a

Please sign in to comment.