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) +