mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-26 00:46:59 +00:00
Fix libiio detection in macOS
This commit is contained in:
parent
7004606f00
commit
09109b903d
@ -76,6 +76,12 @@ find_library(
|
||||
$ENV{LIBIIO_ROOT}/lib64
|
||||
)
|
||||
|
||||
if(LIBIIO_LIBRARIES AND APPLE)
|
||||
if(LIBIIO_LIBRARIES MATCHES "framework")
|
||||
set(LIBIIO_LIBRARIES ${LIBIIO_LIBRARIES}/iio)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(LIBIIO DEFAULT_MSG LIBIIO_LIBRARIES LIBIIO_INCLUDE_DIRS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user