mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-25 10:28:28 +01:00
cmake bugfix
This commit is contained in:
parent
80d244003a
commit
b8bc942b84
@ -23,7 +23,15 @@ if (MSVC)
|
|||||||
target_link_directories(m17_decoder PRIVATE "C:/Program Files/codec2/lib")
|
target_link_directories(m17_decoder PRIVATE "C:/Program Files/codec2/lib")
|
||||||
|
|
||||||
target_link_libraries(m17_decoder PRIVATE libcodec2)
|
target_link_libraries(m17_decoder PRIVATE libcodec2)
|
||||||
|
elseif (ANDROID)
|
||||||
|
target_include_directories(m17_decoder PUBLIC
|
||||||
|
/mnt/android_sdr/codec2/src
|
||||||
|
/mnt/android_sdr/codec2/build_${ANDROID_ABI}/
|
||||||
|
)
|
||||||
|
|
||||||
|
target_link_libraries(m17_decoder PUBLIC
|
||||||
|
/mnt/android_sdr/output/codec2/${ANDROID_ABI}/libcodec2.so
|
||||||
|
)
|
||||||
else (MSVC)
|
else (MSVC)
|
||||||
find_package(PkgConfig)
|
find_package(PkgConfig)
|
||||||
|
|
||||||
|
@ -25,12 +25,12 @@ if (MSVC)
|
|||||||
|
|
||||||
target_link_libraries(airspy_source PRIVATE airspy)
|
target_link_libraries(airspy_source PRIVATE airspy)
|
||||||
elseif (ANDROID)
|
elseif (ANDROID)
|
||||||
target_include_directories(sdrpp_core PUBLIC
|
target_include_directories(airspy_source PUBLIC
|
||||||
/mnt/android_sdr/libusb/libusb
|
/mnt/android_sdr/libusb/libusb
|
||||||
/mnt/android_sdr/airspyone_host/libairspy/src
|
/mnt/android_sdr/airspyone_host/libairspy/src
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(sdrpp_core PUBLIC
|
target_link_libraries(airspy_source PUBLIC
|
||||||
/mnt/android_sdr/output/libusb/${ANDROID_ABI}/libusb1.0.so
|
/mnt/android_sdr/output/libusb/${ANDROID_ABI}/libusb1.0.so
|
||||||
/mnt/android_sdr/output/libairspy/${ANDROID_ABI}/libairspy.so
|
/mnt/android_sdr/output/libairspy/${ANDROID_ABI}/libairspy.so
|
||||||
)
|
)
|
||||||
|
@ -25,12 +25,12 @@ if (MSVC)
|
|||||||
|
|
||||||
target_link_libraries(airspyhf_source PRIVATE airspyhf)
|
target_link_libraries(airspyhf_source PRIVATE airspyhf)
|
||||||
elseif (ANDROID)
|
elseif (ANDROID)
|
||||||
target_include_directories(sdrpp_core PUBLIC
|
target_include_directories(airspyhf_source PUBLIC
|
||||||
/mnt/android_sdr/libusb/libusb
|
/mnt/android_sdr/libusb/libusb
|
||||||
/mnt/android_sdr/airspyhf/libairspyhf/src
|
/mnt/android_sdr/airspyhf/libairspyhf/src
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(sdrpp_core PUBLIC
|
target_link_libraries(airspyhf_source PUBLIC
|
||||||
/mnt/android_sdr/output/libusb/${ANDROID_ABI}/libusb1.0.so
|
/mnt/android_sdr/output/libusb/${ANDROID_ABI}/libusb1.0.so
|
||||||
/mnt/android_sdr/output/libairspyhf/${ANDROID_ABI}/libairspyhf.so
|
/mnt/android_sdr/output/libairspyhf/${ANDROID_ABI}/libairspyhf.so
|
||||||
)
|
)
|
||||||
|
@ -23,12 +23,12 @@ if (MSVC)
|
|||||||
|
|
||||||
target_link_libraries(hackrf_source PRIVATE hackrf)
|
target_link_libraries(hackrf_source PRIVATE hackrf)
|
||||||
elseif (ANDROID)
|
elseif (ANDROID)
|
||||||
target_include_directories(sdrpp_core PUBLIC
|
target_include_directories(hackrf_source PUBLIC
|
||||||
/mnt/android_sdr/libusb/libusb
|
/mnt/android_sdr/libusb/libusb
|
||||||
/mnt/android_sdr/hackrf/host/libhackrf/src
|
/mnt/android_sdr/hackrf/host/libhackrf/src
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(sdrpp_core PUBLIC
|
target_link_libraries(hackrf_source PUBLIC
|
||||||
/mnt/android_sdr/output/libusb/${ANDROID_ABI}/libusb1.0.so
|
/mnt/android_sdr/output/libusb/${ANDROID_ABI}/libusb1.0.so
|
||||||
/mnt/android_sdr/output/libhackrf/${ANDROID_ABI}/libhackrf.so
|
/mnt/android_sdr/output/libhackrf/${ANDROID_ABI}/libhackrf.so
|
||||||
)
|
)
|
||||||
|
@ -25,12 +25,12 @@ if (MSVC)
|
|||||||
target_link_libraries(plutosdr_source PRIVATE libiio)
|
target_link_libraries(plutosdr_source PRIVATE libiio)
|
||||||
target_link_libraries(plutosdr_source PRIVATE libad9361)
|
target_link_libraries(plutosdr_source PRIVATE libad9361)
|
||||||
elseif (ANDROID)
|
elseif (ANDROID)
|
||||||
target_include_directories(sdrpp_core PUBLIC
|
target_include_directories(plutosdr_source PUBLIC
|
||||||
/mnt/android_sdr/libiio
|
/mnt/android_sdr/libiio
|
||||||
/mnt/android_sdr/libad9361-iio
|
/mnt/android_sdr/libad9361-iio
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(sdrpp_core PUBLIC
|
target_link_libraries(plutosdr_source PUBLIC
|
||||||
/mnt/android_sdr/output/libxml2/${ANDROID_ABI}/libxml2.so
|
/mnt/android_sdr/output/libxml2/${ANDROID_ABI}/libxml2.so
|
||||||
/mnt/android_sdr/output/libiio/${ANDROID_ABI}/libiio.so
|
/mnt/android_sdr/output/libiio/${ANDROID_ABI}/libiio.so
|
||||||
/mnt/android_sdr/output/libad9361/${ANDROID_ABI}/libad9361.so
|
/mnt/android_sdr/output/libad9361/${ANDROID_ABI}/libad9361.so
|
||||||
|
@ -23,12 +23,12 @@ if (MSVC)
|
|||||||
|
|
||||||
target_link_libraries(rtl_sdr_source PRIVATE rtlsdr)
|
target_link_libraries(rtl_sdr_source PRIVATE rtlsdr)
|
||||||
elseif (ANDROID)
|
elseif (ANDROID)
|
||||||
target_include_directories(sdrpp_core PUBLIC
|
target_include_directories(rtl_sdr_source PUBLIC
|
||||||
/mnt/android_sdr/libusb/libusb
|
/mnt/android_sdr/libusb/libusb
|
||||||
/mnt/android_sdr/librtlsdr/include
|
/mnt/android_sdr/librtlsdr/include
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(sdrpp_core PUBLIC
|
target_link_libraries(rtl_sdr_source PUBLIC
|
||||||
/mnt/android_sdr/output/libusb/${ANDROID_ABI}/libusb1.0.so
|
/mnt/android_sdr/output/libusb/${ANDROID_ABI}/libusb1.0.so
|
||||||
/mnt/android_sdr/output/librtlsdr/${ANDROID_ABI}/librtlsdr.so
|
/mnt/android_sdr/output/librtlsdr/${ANDROID_ABI}/librtlsdr.so
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user