From af32260b5199c1c341481bd537e499d838d3fcdd Mon Sep 17 00:00:00 2001 From: f4exb Date: Fri, 31 May 2019 09:58:34 +0200 Subject: [PATCH] Perseus server: added libusb include and lib --- devices/perseus/CMakeLists.txt | 2 ++ plugins/samplesource/perseus/CMakeLists.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/devices/perseus/CMakeLists.txt b/devices/perseus/CMakeLists.txt index bd83f6365..1cf08b9ce 100644 --- a/devices/perseus/CMakeLists.txt +++ b/devices/perseus/CMakeLists.txt @@ -11,6 +11,7 @@ set(perseusdevice_HEADERS ) include_directories( + ${LIBUSB_INCLUDE_DIR} ${LIBPERSEUS_INCLUDE_DIR} ) @@ -22,6 +23,7 @@ set_target_properties(perseusdevice PROPERTIES DEFINE_SYMBOL "devices_EXPORTS") target_link_libraries(perseusdevice + ${LIBUSB_LIBRARIES} ${LIBPERSEUS_LIBRARIES} sdrbase ) diff --git a/plugins/samplesource/perseus/CMakeLists.txt b/plugins/samplesource/perseus/CMakeLists.txt index 572dd5673..a11cc1d73 100644 --- a/plugins/samplesource/perseus/CMakeLists.txt +++ b/plugins/samplesource/perseus/CMakeLists.txt @@ -17,6 +17,7 @@ set(perseus_HEADERS include_directories( ${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client ${CMAKE_SOURCE_DIR}/devices + ${LIBUSB_INCLUDE_DIR} ${LIBPERSEUS_INCLUDE_DIR} ) @@ -53,6 +54,7 @@ target_link_libraries(${TARGET_NAME} sdrbase ${TARGET_LIB_GUI} swagger + ${LIBUSB_LIBRARIES} ${LIBPERSEUS_LIBRARIES} perseusdevice )