summaryrefslogtreecommitdiffstats
path: root/heimdall
diff options
context:
space:
mode:
authorAlan <alan@yggdrasil.net>2017-11-10 15:25:08 +0100
committerAlan <alan@yggdrasil.net>2017-11-10 15:25:08 +0100
commit4a9259b4779b54608fdea7fe94bd8e86c34f5f63 (patch)
treeb96360acb15097ad9774ae3518886284aaf3afc4 /heimdall
parentMerge pull request #408 from grayed/master (diff)
downloadHeimdall-4a9259b4779b54608fdea7fe94bd8e86c34f5f63.tar
Heimdall-4a9259b4779b54608fdea7fe94bd8e86c34f5f63.tar.gz
Heimdall-4a9259b4779b54608fdea7fe94bd8e86c34f5f63.tar.bz2
Heimdall-4a9259b4779b54608fdea7fe94bd8e86c34f5f63.tar.lz
Heimdall-4a9259b4779b54608fdea7fe94bd8e86c34f5f63.tar.xz
Heimdall-4a9259b4779b54608fdea7fe94bd8e86c34f5f63.tar.zst
Heimdall-4a9259b4779b54608fdea7fe94bd8e86c34f5f63.zip
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})
+