mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
Perseus: add libusb in cmake files
This commit is contained in:
parent
b2e35b2d31
commit
9d22738412
@ -16,12 +16,14 @@ if (BUILD_DEBIAN)
|
||||
include_directories(
|
||||
.
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${LIBUSB_INCLUDE_DIR}
|
||||
${LIBPERSEUSSRC}
|
||||
)
|
||||
else (BUILD_DEBIAN)
|
||||
include_directories(
|
||||
.
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${LIBUSB_INCLUDE_DIR}
|
||||
${LIBPERSEUS_INCLUDE_DIR}
|
||||
)
|
||||
endif (BUILD_DEBIAN)
|
||||
@ -37,11 +39,13 @@ set_target_properties(perseusdevice PROPERTIES DEFINE_SYMBOL "devices_EXPORTS")
|
||||
|
||||
if (BUILD_DEBIAN)
|
||||
target_link_libraries(perseusdevice
|
||||
${LIBUSB_LIBRARIES}
|
||||
perseus
|
||||
sdrbase
|
||||
)
|
||||
else (BUILD_DEBIAN)
|
||||
target_link_libraries(perseusdevice
|
||||
${LIBUSB_LIBRARIES}
|
||||
${LIBPERSEUS_LIBRARIES}
|
||||
sdrbase
|
||||
)
|
||||
|
@ -28,6 +28,7 @@ include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
|
||||
${CMAKE_SOURCE_DIR}/devices
|
||||
${LIBUSB_INCLUDE_DIR}
|
||||
${LIBPERSEUSSRC}
|
||||
${LIBPERSEUSSRC}/libperseus/src
|
||||
)
|
||||
@ -37,6 +38,7 @@ include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
|
||||
${CMAKE_SOURCE_DIR}/devices
|
||||
${LIBUSB_INCLUDE_DIR}
|
||||
${LIBPERSEUS_INCLUDE_DIR}
|
||||
)
|
||||
endif (BUILD_DEBIAN)
|
||||
@ -59,6 +61,7 @@ add_library(inputperseus SHARED
|
||||
if (BUILD_DEBIAN)
|
||||
target_link_libraries(inputperseus
|
||||
${QT_LIBRARIES}
|
||||
${LIBUSB_LIBRARIES}
|
||||
perseus
|
||||
sdrbase
|
||||
sdrgui
|
||||
@ -68,6 +71,7 @@ target_link_libraries(inputperseus
|
||||
else (BUILD_DEBIAN)
|
||||
target_link_libraries(inputperseus
|
||||
${QT_LIBRARIES}
|
||||
${LIBUSB_LIBRARIES}
|
||||
${LIBPERSEUS_LIBRARIES}
|
||||
sdrbase
|
||||
sdrgui
|
||||
|
Loading…
Reference in New Issue
Block a user