summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+github@glassechidna.com.au>2017-11-10 15:34:24 +0100
committerGitHub <noreply@github.com>2017-11-10 15:34:24 +0100
commit5377b6286c10edb21e94d1c8efaa961bc53a7c8f (patch)
treeb96360acb15097ad9774ae3518886284aaf3afc4
parentMerge pull request #408 from grayed/master (diff)
parentAdded install targets (diff)
downloadHeimdall-5377b6286c10edb21e94d1c8efaa961bc53a7c8f.tar
Heimdall-5377b6286c10edb21e94d1c8efaa961bc53a7c8f.tar.gz
Heimdall-5377b6286c10edb21e94d1c8efaa961bc53a7c8f.tar.bz2
Heimdall-5377b6286c10edb21e94d1c8efaa961bc53a7c8f.tar.lz
Heimdall-5377b6286c10edb21e94d1c8efaa961bc53a7c8f.tar.xz
Heimdall-5377b6286c10edb21e94d1c8efaa961bc53a7c8f.tar.zst
Heimdall-5377b6286c10edb21e94d1c8efaa961bc53a7c8f.zip
-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})
+