MacOS SDRPlay

This commit is contained in:
Dmitry Obedkov 2021-08-25 22:50:19 +03:00
parent 51d084c20e
commit 124f3368d4

View File

@ -29,6 +29,7 @@ else (MSVC)
# Include it because for some reason pkgconfig doesn't look here? # Include it because for some reason pkgconfig doesn't look here?
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
target_include_directories(sdrplay_source PUBLIC "/usr/local/include") target_include_directories(sdrplay_source PUBLIC "/usr/local/include")
target_link_directories(sdrplay_source PUBLIC "/usr/local/lib/")
endif() endif()
target_link_libraries(sdrplay_source PRIVATE sdrplay_api) target_link_libraries(sdrplay_source PRIVATE sdrplay_api)