mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-26 09:34:44 +01:00
Fixed cmake 3.10 compatibility for ubuntu bionic based distros
This commit is contained in:
parent
3d65e515ad
commit
f968725469
@ -28,7 +28,6 @@ else (MSVC)
|
||||
pkg_check_modules(LIBAIRSPY REQUIRED libairspy)
|
||||
|
||||
target_include_directories(airspy_source PUBLIC ${LIBAIRSPY_INCLUDE_DIRS})
|
||||
target_link_directories(airspy_source PUBLIC ${LIBAIRSPY_LIBRARY_DIRS})
|
||||
target_link_libraries(airspy_source PUBLIC ${LIBAIRSPY_LIBRARIES})
|
||||
endif ()
|
||||
|
||||
|
@ -28,7 +28,6 @@ else (MSVC)
|
||||
pkg_check_modules(LIBAIRSPYHF REQUIRED libairspyhf)
|
||||
|
||||
target_include_directories(airspyhf_source PUBLIC ${LIBAIRSPYHF_INCLUDE_DIRS})
|
||||
target_link_directories(airspyhf_source PUBLIC ${LIBAIRSPYHF_LIBRARY_DIRS})
|
||||
target_link_libraries(airspyhf_source PUBLIC ${LIBAIRSPYHF_LIBRARIES})
|
||||
endif ()
|
||||
|
||||
|
@ -32,8 +32,6 @@ else (MSVC)
|
||||
|
||||
target_include_directories(audio_sink PUBLIC ${RTAUDIO_INCLUDE_DIRS})
|
||||
|
||||
target_link_directories(audio_sink PUBLIC ${RTAUDIO_LIBRARY_DIRS})
|
||||
|
||||
target_link_libraries(audio_sink PUBLIC ${RTAUDIO_LIBRARIES})
|
||||
|
||||
endif ()
|
||||
|
@ -64,13 +64,6 @@ else()
|
||||
${VOLK_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
target_link_directories(sdrpp_core PUBLIC
|
||||
${GLEW_LIBRARY_DIRS}
|
||||
${FFTW3_LIBRARY_DIRS}
|
||||
${GLFW3_LIBRARY_DIRS}
|
||||
${VOLK_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
target_link_libraries(sdrpp_core PUBLIC
|
||||
${OPENGL_LIBRARIES}
|
||||
${GLEW_LIBRARIES}
|
||||
|
@ -28,7 +28,6 @@ else (MSVC)
|
||||
pkg_check_modules(LIBHACKRF REQUIRED libhackrf)
|
||||
|
||||
target_include_directories(hackrf_source PUBLIC ${LIBHACKRF_INCLUDE_DIRS})
|
||||
target_link_directories(hackrf_source PUBLIC ${LIBHACKRF_LIBRARY_DIRS})
|
||||
target_link_libraries(hackrf_source PUBLIC ${LIBHACKRF_LIBRARIES})
|
||||
endif ()
|
||||
|
||||
|
@ -31,11 +31,9 @@ else (MSVC)
|
||||
pkg_check_modules(LIBAD9361 REQUIRED libad9361)
|
||||
|
||||
target_include_directories(plutosdr_source PUBLIC ${LIBIIO_INCLUDE_DIRS})
|
||||
target_link_directories(plutosdr_source PUBLIC ${LIBIIO_LIBRARY_DIRS})
|
||||
target_link_libraries(plutosdr_source PUBLIC ${LIBIIO_LIBRARIES})
|
||||
|
||||
target_include_directories(plutosdr_source PUBLIC ${LIBAD9361_INCLUDE_DIRS})
|
||||
target_link_directories(plutosdr_source PUBLIC ${LIBAD9361_LIBRARY_DIRS})
|
||||
target_link_libraries(plutosdr_source PUBLIC ${LIBAD9361_LIBRARIES})
|
||||
endif ()
|
||||
|
||||
|
@ -28,7 +28,6 @@ else (MSVC)
|
||||
pkg_check_modules(LIBRTLSDR REQUIRED librtlsdr)
|
||||
|
||||
target_include_directories(rtl_sdr_source PUBLIC ${LIBRTLSDR_INCLUDE_DIRS})
|
||||
target_link_directories(rtl_sdr_source PUBLIC ${LIBRTLSDR_LIBRARY_DIRS})
|
||||
target_link_libraries(rtl_sdr_source PUBLIC ${LIBRTLSDR_LIBRARIES})
|
||||
endif ()
|
||||
|
||||
|
@ -29,7 +29,6 @@ else (MSVC)
|
||||
pkg_check_modules(SOAPY REQUIRED SoapySDR)
|
||||
|
||||
target_include_directories(soapy_source PUBLIC ${SOAPY_INCLUDE_DIRS})
|
||||
target_link_directories(soapy_source PUBLIC ${SOAPY_LIBRARY_DIRS})
|
||||
target_link_libraries(soapy_source PUBLIC ${SOAPY_LIBRARIES})
|
||||
endif ()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user