From 74723699797555d35868b31240e1cd42dd32e9f0 Mon Sep 17 00:00:00 2001 From: "Jason C. Wenger" Date: Mon, 25 May 2020 15:44:22 -0500 Subject: [PATCH] Support install --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3ed4f89..1197baa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,6 +84,7 @@ target_link_libraries(autoapp aasdk libusb ${RTAUDIO_LIBRARIES} ) + if(libomx_FOUND) target_link_libraries(autoapp omx) endif() @@ -100,3 +101,7 @@ target_link_libraries(btservice ${Qt5MultimediaWidgets_LIBRARIES} ${PROTOBUF_LIBRARIES} ) + +install(TARGETS autoapp btservice + RUNTIME DESTINATION bin) +