src/CMakeLists.txt
branchv_0
changeset 33 ec98d2e080a0
parent 30 23354fc917f4
child 38 129b8cca9b98
--- 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)