Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CMAKE_INSTALL_FULL_LIBDIR
  • Loading branch information
ahnaf-tahmid-chowdhury committed May 22, 2024
commit ffc3a93c221d3026bf418aefbd5cd56623ecc523
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ message(STATUS "Build with install RPATH: ${CMAKE_BUILD_WITH_INSTALL_RPATH}")
list(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES ${CMAKE_INSTALL_FULL_LIBDIR} isSystemDir)

if ("${isSystemDir}" STREQUAL "-1")
option(CMAKE_INSTALL_RPATH "Install RPATH" ${CMAKE_INSTALL_FULL_LIBDIR})
if(${CMAKE_INSTALL_FULL_LIBDIR})
set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR})
endif()
message(STATUS "Install RPATH: ${CMAKE_INSTALL_RPATH}")
option(CMAKE_INSTALL_RPATH_USE_LINK_PATH "Use link path for RPATH" ON)
message(STATUS "Install RPATH use link path: ${CMAKE_INSTALL_RPATH_USE_LINK_PATH}")
Expand Down