Fixed SDRplay source of OSX

This commit is contained in:
Ryzerth 2021-06-29 19:37:03 +02:00
parent 5f84ecc4de
commit 24892c854e

View File

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