From c839c1ff49991887dbb2b6ebe366aafa2182abd1 Mon Sep 17 00:00:00 2001 From: Timo Behrendt Date: Thu, 9 May 2024 11:51:53 +0200 Subject: [PATCH] feat: add install target --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index be41204..5cc9480 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,3 +44,5 @@ endif() # Link spdlog with your executable target_link_libraries(usbmakroboard PRIVATE spdlog::spdlog) + +install(TARGETS usbmakroboard DESTINATION "${CMAKE_INSTALL_PREFIX}/bin") \ No newline at end of file