Bugfix for OSX 7

This commit is contained in:
Ryzerth 2021-04-18 20:00:47 +02:00
parent 30e8b3b60e
commit 2b4cc46a53

View File

@ -25,6 +25,10 @@ if (MSVC)
else (MSVC) else (MSVC)
find_package(PkgConfig) find_package(PkgConfig)
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
target_link_directories(sdrpp_core PUBLIC "/usr/local/include")
endif()
pkg_check_modules(LIBAIRSPY REQUIRED libairspy) pkg_check_modules(LIBAIRSPY REQUIRED libairspy)
target_include_directories(airspy_source PUBLIC ${LIBAIRSPY_INCLUDE_DIRS}) target_include_directories(airspy_source PUBLIC ${LIBAIRSPY_INCLUDE_DIRS})