cmake: install v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Tue, 18 Dec 2018 22:44:59 +0100
branchv_0
changeset 33 ec98d2e080a0
parent 32 23018a2ed2a0
child 34 6982e2cd80f2
cmake: install
src/CMakeLists.txt
--- a/src/CMakeLists.txt	Thu Dec 13 01:45:28 2018 +0100
+++ b/src/CMakeLists.txt	Tue Dec 18 22:44:59 2018 +0100
@@ -49,7 +49,9 @@
 target_link_libraries(${EXECUTABLE_FILE} ${RELPIPE_LIB_READER_LIBRARIES})
 target_link_libraries(${EXECUTABLE_FILE} Qt5::Widgets)
 target_link_libraries(${EXECUTABLE_FILE} Qt5::Charts)
+set_property(TARGET ${EXECUTABLE_FILE} PROPERTY INSTALL_RPATH_USE_LINK_PATH TRUE)
 
+install(TARGETS ${EXECUTABLE_FILE} DESTINATION bin)
 
 # Print all variables:
 #macro(print_all_variables)