mirror of https://github.com/f4exb/sdrangel.git
Perseus server: added libusb include and lib
This commit is contained in:
parent
da82954e74
commit
af32260b51
|
@ -11,6 +11,7 @@ set(perseusdevice_HEADERS
|
||||||
)
|
)
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
|
${LIBUSB_INCLUDE_DIR}
|
||||||
${LIBPERSEUS_INCLUDE_DIR}
|
${LIBPERSEUS_INCLUDE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -22,6 +23,7 @@ set_target_properties(perseusdevice
|
||||||
PROPERTIES DEFINE_SYMBOL "devices_EXPORTS")
|
PROPERTIES DEFINE_SYMBOL "devices_EXPORTS")
|
||||||
|
|
||||||
target_link_libraries(perseusdevice
|
target_link_libraries(perseusdevice
|
||||||
|
${LIBUSB_LIBRARIES}
|
||||||
${LIBPERSEUS_LIBRARIES}
|
${LIBPERSEUS_LIBRARIES}
|
||||||
sdrbase
|
sdrbase
|
||||||
)
|
)
|
||||||
|
|
|
@ -17,6 +17,7 @@ set(perseus_HEADERS
|
||||||
include_directories(
|
include_directories(
|
||||||
${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}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -53,6 +54,7 @@ target_link_libraries(${TARGET_NAME}
|
||||||
sdrbase
|
sdrbase
|
||||||
${TARGET_LIB_GUI}
|
${TARGET_LIB_GUI}
|
||||||
swagger
|
swagger
|
||||||
|
${LIBUSB_LIBRARIES}
|
||||||
${LIBPERSEUS_LIBRARIES}
|
${LIBPERSEUS_LIBRARIES}
|
||||||
perseusdevice
|
perseusdevice
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue