mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-02-03 09:44:01 -05:00
cmake: removed unncecessary dependencies on librtlsdr and libusb
This commit is contained in:
parent
e9d55b7f04
commit
da26fa3781
@ -285,7 +285,6 @@ add_library(sdrbase SHARED
|
|||||||
target_link_libraries(sdrbase
|
target_link_libraries(sdrbase
|
||||||
${QT_LIBRARIES}
|
${QT_LIBRARIES}
|
||||||
${OPENGL_LIBRARIES}
|
${OPENGL_LIBRARIES}
|
||||||
${LIBUSB_LIBRARIES}
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if(FFTW3F_FOUND)
|
if(FFTW3F_FOUND)
|
||||||
@ -351,5 +350,8 @@ qt5_use_modules(sdrangel Widgets Multimedia)
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
add_subdirectory(plugins)
|
add_subdirectory(plugins)
|
||||||
|
|
||||||
|
if(LIBUSB_FOUND AND UNIX)
|
||||||
add_subdirectory(fcdhid)
|
add_subdirectory(fcdhid)
|
||||||
add_subdirectory(fcdlib)
|
add_subdirectory(fcdlib)
|
||||||
|
endif(LIBUSB_FOUND AND UNIX)
|
||||||
|
@ -23,7 +23,6 @@ include_directories(
|
|||||||
${CMAKE_CURRENT_BINARY_DIR}
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
${CMAKE_SOURCE_DIR}/include
|
${CMAKE_SOURCE_DIR}/include
|
||||||
${CMAKE_SOURCE_DIR}/include-gpl
|
${CMAKE_SOURCE_DIR}/include-gpl
|
||||||
${LIBRTLSDR_INCLUDE_DIR}
|
|
||||||
)
|
)
|
||||||
|
|
||||||
#include(${QT_USE_FILE})
|
#include(${QT_USE_FILE})
|
||||||
@ -42,7 +41,6 @@ add_library(inputfilesource SHARED
|
|||||||
|
|
||||||
target_link_libraries(inputfilesource
|
target_link_libraries(inputfilesource
|
||||||
${QT_LIBRARIES}
|
${QT_LIBRARIES}
|
||||||
${LIBUSB_LIBRARIES}
|
|
||||||
sdrbase
|
sdrbase
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user