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 )