forked from enlightenment/efl
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:
parent
eeddb16b76
commit
f656323473
|
@ -7,7 +7,6 @@ examples = [
|
||||||
'ecore_file_download_example',
|
'ecore_file_download_example',
|
||||||
'ecore_idler_example',
|
'ecore_idler_example',
|
||||||
'ecore_job_example',
|
'ecore_job_example',
|
||||||
'ecore_pipe_simple_example',
|
|
||||||
'ecore_poller_example',
|
'ecore_poller_example',
|
||||||
'ecore_thread_example',
|
'ecore_thread_example',
|
||||||
'ecore_time_functions_example',
|
'ecore_time_functions_example',
|
||||||
|
@ -15,6 +14,10 @@ examples = [
|
||||||
'ecore_getopt_example'
|
'ecore_getopt_example'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if config_h.has('HAVE_FORK')
|
||||||
|
examples += 'ecore_pipe_simple_example'
|
||||||
|
endif
|
||||||
|
|
||||||
gnutls = dependency('gnutls', required : false)
|
gnutls = dependency('gnutls', required : false)
|
||||||
if gnutls.found()
|
if gnutls.found()
|
||||||
examples += ['ecore_fd_handler_gnutls_example']
|
examples += ['ecore_fd_handler_gnutls_example']
|
||||||
|
|
Loading…
Reference in New Issue