diff --git a/sdrplay_source/CMakeLists.txt b/sdrplay_source/CMakeLists.txt index 0d776b43..1fe696a0 100644 --- a/sdrplay_source/CMakeLists.txt +++ b/sdrplay_source/CMakeLists.txt @@ -24,7 +24,7 @@ if (MSVC) else (MSVC) find_package(PkgConfig) - target_link_libraries(sdrplay_source sdrplay_api) + link_libraries(sdrplay_api) endif (MSVC) # Install directives