meson: conditionally compile ecore_pipe_simple_example for windows

windows does not have fork() so this cannot be built

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8726
This commit is contained in:
Mike Blumenkrantz 2019-04-26 09:06:47 -04:00 committed by Marcel Hollerbach
parent eeddb16b76
commit f656323473
1 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,6 @@ examples = [
'ecore_file_download_example',
'ecore_idler_example',
'ecore_job_example',
'ecore_pipe_simple_example',
'ecore_poller_example',
'ecore_thread_example',
'ecore_time_functions_example',
@ -15,6 +14,10 @@ examples = [
'ecore_getopt_example'
]
if config_h.has('HAVE_FORK')
examples += 'ecore_pipe_simple_example'
endif
gnutls = dependency('gnutls', required : false)
if gnutls.found()
examples += ['ecore_fd_handler_gnutls_example']