From 79df475c9dc19f72da70b31f939c67c4878fd8b9 Mon Sep 17 00:00:00 2001 From: Ryzerth Date: Fri, 26 Feb 2021 18:11:54 +0100 Subject: [PATCH] Fixed wrong sdprlay lib name for linux 2 --- sdrplay_source/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sdrplay_source/CMakeLists.txt b/sdrplay_source/CMakeLists.txt index 5df0aaf0..0d776b43 100644 --- a/sdrplay_source/CMakeLists.txt +++ b/sdrplay_source/CMakeLists.txt @@ -24,11 +24,7 @@ if (MSVC) else (MSVC) find_package(PkgConfig) - pkg_check_modules(LIBSDRPLAY REQUIRED libsdrplay_api) - - target_include_directories(sdrplay_source PUBLIC ${LIBSDRPLAY_INCLUDE_DIRS}) - target_link_directories(sdrplay_source PUBLIC ${LIBSDRPLAY_LIBRARY_DIRS}) - target_link_libraries(sdrplay_source PUBLIC ${LIBSDRPLAY_LIBRARIES}) + target_link_libraries(sdrplay_source sdrplay_api) endif (MSVC) # Install directives