diff options
author | Benjamin Dobell <benjamin.dobell+github@glassechidna.com.au> | 2017-11-10 15:34:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-10 15:34:24 +0100 |
commit | 5377b6286c10edb21e94d1c8efaa961bc53a7c8f (patch) | |
tree | b96360acb15097ad9774ae3518886284aaf3afc4 | |
parent | Merge pull request #408 from grayed/master (diff) | |
parent | Added install targets (diff) | |
download | Heimdall-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.txt | 4 | ||||
-rw-r--r-- | heimdall/CMakeLists.txt | 4 |
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}) + |