mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-28 02:24:45 +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)
|
pkg_check_modules(LIBAIRSPY REQUIRED libairspy)
|
||||||
|
|
||||||
target_include_directories(airspy_source PUBLIC ${LIBAIRSPY_INCLUDE_DIRS})
|
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})
|
target_link_libraries(airspy_source PUBLIC ${LIBAIRSPY_LIBRARIES})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
@ -28,7 +28,6 @@ else (MSVC)
|
|||||||
pkg_check_modules(LIBAIRSPYHF REQUIRED libairspyhf)
|
pkg_check_modules(LIBAIRSPYHF REQUIRED libairspyhf)
|
||||||
|
|
||||||
target_include_directories(airspyhf_source PUBLIC ${LIBAIRSPYHF_INCLUDE_DIRS})
|
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})
|
target_link_libraries(airspyhf_source PUBLIC ${LIBAIRSPYHF_LIBRARIES})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
@ -32,8 +32,6 @@ else (MSVC)
|
|||||||
|
|
||||||
target_include_directories(audio_sink PUBLIC ${RTAUDIO_INCLUDE_DIRS})
|
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})
|
target_link_libraries(audio_sink PUBLIC ${RTAUDIO_LIBRARIES})
|
||||||
|
|
||||||
endif ()
|
endif ()
|
||||||
|
@ -64,13 +64,6 @@ else()
|
|||||||
${VOLK_INCLUDE_DIRS}
|
${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
|
target_link_libraries(sdrpp_core PUBLIC
|
||||||
${OPENGL_LIBRARIES}
|
${OPENGL_LIBRARIES}
|
||||||
${GLEW_LIBRARIES}
|
${GLEW_LIBRARIES}
|
||||||
|
@ -28,7 +28,6 @@ else (MSVC)
|
|||||||
pkg_check_modules(LIBHACKRF REQUIRED libhackrf)
|
pkg_check_modules(LIBHACKRF REQUIRED libhackrf)
|
||||||
|
|
||||||
target_include_directories(hackrf_source PUBLIC ${LIBHACKRF_INCLUDE_DIRS})
|
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})
|
target_link_libraries(hackrf_source PUBLIC ${LIBHACKRF_LIBRARIES})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
@ -31,11 +31,9 @@ else (MSVC)
|
|||||||
pkg_check_modules(LIBAD9361 REQUIRED libad9361)
|
pkg_check_modules(LIBAD9361 REQUIRED libad9361)
|
||||||
|
|
||||||
target_include_directories(plutosdr_source PUBLIC ${LIBIIO_INCLUDE_DIRS})
|
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_link_libraries(plutosdr_source PUBLIC ${LIBIIO_LIBRARIES})
|
||||||
|
|
||||||
target_include_directories(plutosdr_source PUBLIC ${LIBAD9361_INCLUDE_DIRS})
|
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})
|
target_link_libraries(plutosdr_source PUBLIC ${LIBAD9361_LIBRARIES})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
@ -28,7 +28,6 @@ else (MSVC)
|
|||||||
pkg_check_modules(LIBRTLSDR REQUIRED librtlsdr)
|
pkg_check_modules(LIBRTLSDR REQUIRED librtlsdr)
|
||||||
|
|
||||||
target_include_directories(rtl_sdr_source PUBLIC ${LIBRTLSDR_INCLUDE_DIRS})
|
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})
|
target_link_libraries(rtl_sdr_source PUBLIC ${LIBRTLSDR_LIBRARIES})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
@ -29,7 +29,6 @@ else (MSVC)
|
|||||||
pkg_check_modules(SOAPY REQUIRED SoapySDR)
|
pkg_check_modules(SOAPY REQUIRED SoapySDR)
|
||||||
|
|
||||||
target_include_directories(soapy_source PUBLIC ${SOAPY_INCLUDE_DIRS})
|
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})
|
target_link_libraries(soapy_source PUBLIC ${SOAPY_LIBRARIES})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user