1pulse_dep = dependency('libpulse', version: '>= 0.9.16', required: get_option('pulse')) 2conf.set('ENABLE_PULSE', pulse_dep.found()) 3if not pulse_dep.found() 4 subdir_done() 5endif 6 7pulse = static_library( 8 'pulse', 9 'LogError.cxx', 10 'Error.cxx', 11 'Domain.cxx', 12 include_directories: inc, 13 dependencies: [ 14 pulse_dep, 15 log_dep, 16 ], 17) 18 19pulse_dep = declare_dependency( 20 link_with: pulse, 21 dependencies: [ 22 pulse_dep, 23 ], 24) 25