mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-14 20:31:53 -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(
|
include_directories(
|
||||||
.
|
.
|
||||||
${CMAKE_CURRENT_BINARY_DIR}
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${LIBUSB_INCLUDE_DIR}
|
||||||
${LIBPERSEUSSRC}
|
${LIBPERSEUSSRC}
|
||||||
)
|
)
|
||||||
else (BUILD_DEBIAN)
|
else (BUILD_DEBIAN)
|
||||||
include_directories(
|
include_directories(
|
||||||
.
|
.
|
||||||
${CMAKE_CURRENT_BINARY_DIR}
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${LIBUSB_INCLUDE_DIR}
|
||||||
${LIBPERSEUS_INCLUDE_DIR}
|
${LIBPERSEUS_INCLUDE_DIR}
|
||||||
)
|
)
|
||||||
endif (BUILD_DEBIAN)
|
endif (BUILD_DEBIAN)
|
||||||
@ -37,11 +39,13 @@ set_target_properties(perseusdevice PROPERTIES DEFINE_SYMBOL "devices_EXPORTS")
|
|||||||
|
|
||||||
if (BUILD_DEBIAN)
|
if (BUILD_DEBIAN)
|
||||||
target_link_libraries(perseusdevice
|
target_link_libraries(perseusdevice
|
||||||
|
${LIBUSB_LIBRARIES}
|
||||||
perseus
|
perseus
|
||||||
sdrbase
|
sdrbase
|
||||||
)
|
)
|
||||||
else (BUILD_DEBIAN)
|
else (BUILD_DEBIAN)
|
||||||
target_link_libraries(perseusdevice
|
target_link_libraries(perseusdevice
|
||||||
|
${LIBUSB_LIBRARIES}
|
||||||
${LIBPERSEUS_LIBRARIES}
|
${LIBPERSEUS_LIBRARIES}
|
||||||
sdrbase
|
sdrbase
|
||||||
)
|
)
|
||||||
|
@ -28,6 +28,7 @@ include_directories(
|
|||||||
${CMAKE_CURRENT_BINARY_DIR}
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
|
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
|
||||||
${CMAKE_SOURCE_DIR}/devices
|
${CMAKE_SOURCE_DIR}/devices
|
||||||
|
${LIBUSB_INCLUDE_DIR}
|
||||||
${LIBPERSEUSSRC}
|
${LIBPERSEUSSRC}
|
||||||
${LIBPERSEUSSRC}/libperseus/src
|
${LIBPERSEUSSRC}/libperseus/src
|
||||||
)
|
)
|
||||||
@ -37,6 +38,7 @@ include_directories(
|
|||||||
${CMAKE_CURRENT_BINARY_DIR}
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
|
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
|
||||||
${CMAKE_SOURCE_DIR}/devices
|
${CMAKE_SOURCE_DIR}/devices
|
||||||
|
${LIBUSB_INCLUDE_DIR}
|
||||||
${LIBPERSEUS_INCLUDE_DIR}
|
${LIBPERSEUS_INCLUDE_DIR}
|
||||||
)
|
)
|
||||||
endif (BUILD_DEBIAN)
|
endif (BUILD_DEBIAN)
|
||||||
@ -59,6 +61,7 @@ add_library(inputperseus SHARED
|
|||||||
if (BUILD_DEBIAN)
|
if (BUILD_DEBIAN)
|
||||||
target_link_libraries(inputperseus
|
target_link_libraries(inputperseus
|
||||||
${QT_LIBRARIES}
|
${QT_LIBRARIES}
|
||||||
|
${LIBUSB_LIBRARIES}
|
||||||
perseus
|
perseus
|
||||||
sdrbase
|
sdrbase
|
||||||
sdrgui
|
sdrgui
|
||||||
@ -68,6 +71,7 @@ target_link_libraries(inputperseus
|
|||||||
else (BUILD_DEBIAN)
|
else (BUILD_DEBIAN)
|
||||||
target_link_libraries(inputperseus
|
target_link_libraries(inputperseus
|
||||||
${QT_LIBRARIES}
|
${QT_LIBRARIES}
|
||||||
|
${LIBUSB_LIBRARIES}
|
||||||
${LIBPERSEUS_LIBRARIES}
|
${LIBPERSEUS_LIBRARIES}
|
||||||
sdrbase
|
sdrbase
|
||||||
sdrgui
|
sdrgui
|
||||||
|
Loading…
Reference in New Issue
Block a user