Skip to content

Commit

Permalink
CMAKE_INSTALL_RPATH_USE_LINK_PATH for pylon deb
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrrx committed Aug 9, 2017
1 parent 17dd218 commit 4116a1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/FindPylon.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ if (EXISTS "${_PYLON_CONFIG}")
string(REPLACE "-L" "" LIBDIRS_OUT "${LIBDIRS_OUT}")
string(REPLACE "\n" "" LIBDIRS_OUT "${LIBDIRS_OUT}")

set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
foreach (LIBDIR ${LIBDIRS_OUT})
link_directories(${LIBDIR})
endforeach()
Expand Down

0 comments on commit 4116a1d

Please sign in to comment.