summaryrefslogtreecommitdiffstats
path: root/heimdall
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--heimdall-frontend/CMakeLists.txt4
-rw-r--r--heimdall/CMakeLists.txt4
2 files changed, 8 insertions, 0 deletions
diff --git a/heimdall-frontend/CMakeLists.txt b/heimdall-frontend/CMakeLists.txt
index 95889b3..05a9e75 100644
--- a/heimdall-frontend/CMakeLists.txt
+++ b/heimdall-frontend/CMakeLists.txt
@@ -50,3 +50,7 @@ set_property(TARGET heimdall-frontend
target_link_libraries(heimdall-frontend pit)
target_link_libraries(heimdall-frontend Qt5::Widgets)
target_link_libraries(heimdall-frontend z)
+install (TARGETS heimdall-frontend
+ RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
+
diff --git a/heimdall/CMakeLists.txt b/heimdall/CMakeLists.txt
index 58a1d43..7aa1313 100644
--- a/heimdall/CMakeLists.txt
+++ b/heimdall/CMakeLists.txt
@@ -46,3 +46,7 @@ add_executable(heimdall ${HEIMDALL_SOURCE_FILES})
target_link_libraries(heimdall PRIVATE pit)
target_link_libraries(heimdall PRIVATE ${LIBUSB_LIBRARY})
+install (TARGETS heimdall
+ RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
+