mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-11 18:57:11 +01:00
Fixed compile bugs
This commit is contained in:
parent
3a49041f27
commit
65d94f03e4
@ -23,9 +23,9 @@ if (MSVC)
|
|||||||
else (MSVC)
|
else (MSVC)
|
||||||
find_package(PkgConfig)
|
find_package(PkgConfig)
|
||||||
|
|
||||||
pkg_check_modules(SOAPY 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 ${AIRSPYHF_LIBRARY_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 (MSVC)
|
endif (MSVC)
|
@ -40,6 +40,8 @@ public:
|
|||||||
|
|
||||||
refresh();
|
refresh();
|
||||||
|
|
||||||
|
selectFirst();
|
||||||
|
|
||||||
// config.aquire();
|
// config.aquire();
|
||||||
// std::string serString = config.conf["device"];
|
// std::string serString = config.conf["device"];
|
||||||
// config.release();
|
// config.release();
|
||||||
|
@ -25,8 +25,8 @@ if (MSVC)
|
|||||||
else (MSVC)
|
else (MSVC)
|
||||||
find_package(PkgConfig)
|
find_package(PkgConfig)
|
||||||
|
|
||||||
pkg_check_modules(SOAPY REQUIRED libiio)
|
pkg_check_modules(LIBIIO REQUIRED libiio)
|
||||||
pkg_check_modules(SOAPY 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_directories(plutosdr_source PUBLIC ${LIBIIO_LIBRARY_DIRS})
|
||||||
|
Loading…
Reference in New Issue
Block a user