Fixed wrong sdprlay lib name for linux 2

This commit is contained in:
Ryzerth 2021-02-26 18:11:54 +01:00
parent a6ce43ba71
commit 79df475c9d

View File

@ -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