project('Libevent meson wrapper', 'c', meson_version : '>=0.57.0', ) mod = import('unstable_external_project') p = mod.add_project('configure', configure_options : [ '--disable-openssl', ], ) libevent_core_dep = p.dependency('event_core') if target_machine.system() == 'windows' libevent_windows_dep = p.dependency('event_pthreads') else libevent_pthreads_dep = p.dependency('event_pthreads') endif