Browse Source

* set rpath on main binary

master
Alex 'AdUser' Z 8 years ago
parent
commit
2454034a43
  1. 1
      src/CMakeLists.txt

1
src/CMakeLists.txt

@ -9,6 +9,7 @@ if (WITH_CSOCKET)
endif () endif ()
add_executable("f2b" ${SOURCES}) add_executable("f2b" ${SOURCES})
set_target_properties("f2b" PROPERTIES INSTALL_RPATH "${CMAKE_INSTALL_FULL_LIBDIR}/${CNAME}")
install(TARGETS "f2b" RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR}) install(TARGETS "f2b" RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR})

Loading…
Cancel
Save