Fixed compile bugs

This commit is contained in:
AlexandreRouma 2020-12-22 21:23:49 +01:00
parent 3a49041f27
commit 65d94f03e4
3 changed files with 6 additions and 4 deletions

View File

@ -23,9 +23,9 @@ if (MSVC)
else (MSVC)
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_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})
endif (MSVC)

View File

@ -40,6 +40,8 @@ public:
refresh();
selectFirst();
// config.aquire();
// std::string serString = config.conf["device"];
// config.release();

View File

@ -25,8 +25,8 @@ if (MSVC)
else (MSVC)
find_package(PkgConfig)
pkg_check_modules(SOAPY REQUIRED libiio)
pkg_check_modules(SOAPY REQUIRED libad9361)
pkg_check_modules(LIBIIO REQUIRED libiio)
pkg_check_modules(LIBAD9361 REQUIRED libad9361)
target_include_directories(plutosdr_source PUBLIC ${LIBIIO_INCLUDE_DIRS})
target_link_directories(plutosdr_source PUBLIC ${LIBIIO_LIBRARY_DIRS})