Skip to content

Commit

Permalink
cmake: removed unncecessary dependencies on librtlsdr and libusb
Browse files Browse the repository at this point in the history
  • Loading branch information
f4exb committed Feb 17, 2016
1 parent e9d55b7 commit da26fa3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 5 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ add_library(sdrbase SHARED
target_link_libraries(sdrbase
${QT_LIBRARIES}
${OPENGL_LIBRARIES}
${LIBUSB_LIBRARIES}
)

if(FFTW3F_FOUND)
Expand Down Expand Up @@ -351,5 +350,8 @@ qt5_use_modules(sdrangel Widgets Multimedia)
##############################################################################

add_subdirectory(plugins)
add_subdirectory(fcdhid)
add_subdirectory(fcdlib)

if(LIBUSB_FOUND AND UNIX)
add_subdirectory(fcdhid)
add_subdirectory(fcdlib)
endif(LIBUSB_FOUND AND UNIX)
2 changes: 0 additions & 2 deletions plugins/samplesource/filesource/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}/include-gpl
${LIBRTLSDR_INCLUDE_DIR}
)

#include(${QT_USE_FILE})
Expand All @@ -42,7 +41,6 @@ add_library(inputfilesource SHARED

target_link_libraries(inputfilesource
${QT_LIBRARIES}
${LIBUSB_LIBRARIES}
sdrbase
)

Expand Down

0 comments on commit da26fa3

Please sign in to comment.