meson: also check for roc headers

Fixes #2513
This commit is contained in:
Wim Taymans 2022-08-10 12:09:54 +02:00
parent f50aafed4d
commit 1e71c0e840

View file

@ -479,7 +479,7 @@ pipewire_module_raop_sink = shared_library('pipewire-module-raop-sink',
endif endif
summary({'raop-sink (requires OpenSSL)': build_module_raop}, bool_yn: true, section: 'Optional Modules') summary({'raop-sink (requires OpenSSL)': build_module_raop}, bool_yn: true, section: 'Optional Modules')
roc_lib = cc.find_library('roc', required: get_option('roc')) roc_lib = cc.find_library('roc', has_headers: ['roc/config.h' ], required: get_option('roc'))
summary({'ROC': roc_lib.found()}, bool_yn: true, section: 'Streaming between daemons') summary({'ROC': roc_lib.found()}, bool_yn: true, section: 'Streaming between daemons')
build_module_roc = roc_lib.found() build_module_roc = roc_lib.found()