Fixed missing library dir argument for OSX

This commit is contained in:
Ryzerth
2021-04-29 14:30:11 +02:00
parent 6aade531a2
commit 8c8acf6955
10 changed files with 83 additions and 1 deletions

View File

@ -28,6 +28,7 @@ else (MSVC)
pkg_check_modules(LIBHACKRF REQUIRED libhackrf)
target_include_directories(hackrf_source PUBLIC ${LIBHACKRF_INCLUDE_DIRS})
target_link_directories(hackrf_source PUBLIC ${LIBHACKRF_LIBRARY_DIRS})
target_link_libraries(hackrf_source PUBLIC ${LIBHACKRF_LIBRARIES})
endif ()