cmake: install v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Tue, 18 Dec 2018 22:45:00 +0100
branchv_0
changeset 14 3bd12759ab4f
parent 13 3435efcaa8ca
child 15 38f95a2b080f
cmake: install
src/CMakeLists.txt
--- a/src/CMakeLists.txt	Sat Dec 15 01:42:47 2018 +0100
+++ b/src/CMakeLists.txt	Tue Dec 18 22:45:00 2018 +0100
@@ -36,3 +36,6 @@
 
 # Link libraries:
 target_link_libraries(${EXECUTABLE_FILE} ${RELPIPE_LIBS_LIBRARIES})
+set_property(TARGET ${EXECUTABLE_FILE} PROPERTY INSTALL_RPATH_USE_LINK_PATH TRUE)
+
+install(TARGETS ${EXECUTABLE_FILE} DESTINATION bin)