From 24892c854e4f936e8eb77d7eb4d6adf4fc1c42c0 Mon Sep 17 00:00:00 2001 From: Ryzerth Date: Tue, 29 Jun 2021 19:37:03 +0200 Subject: [PATCH] Fixed SDRplay source of OSX --- sdrplay_source/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sdrplay_source/CMakeLists.txt b/sdrplay_source/CMakeLists.txt index 02b6586f..9a512a9d 100644 --- a/sdrplay_source/CMakeLists.txt +++ b/sdrplay_source/CMakeLists.txt @@ -26,6 +26,11 @@ if (MSVC) else (MSVC) find_package(PkgConfig) + # Include it because for some reason pkgconfig doesn't look here? + if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") + target_include_directories(sdrplay_source PUBLIC "/usr/local/include") + endif() + target_link_libraries(sdrplay_source PRIVATE sdrplay_api) endif ()