From 2454034a43cd7cd23d96685169586eb05d763f0f Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Wed, 26 Apr 2017 20:44:33 +1000 Subject: [PATCH] * set rpath on main binary --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 40df746..b655a56 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -9,6 +9,7 @@ if (WITH_CSOCKET) endif () add_executable("f2b" ${SOURCES}) +set_target_properties("f2b" PROPERTIES INSTALL_RPATH "${CMAKE_INSTALL_FULL_LIBDIR}/${CNAME}") install(TARGETS "f2b" RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR})