Ecore : does not build linux-only ecore modules on Windows

while tizen module is disabled and systemd is not build on Windows, upower is built and run

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D9658
This commit is contained in:
Vincent Torri 2019-08-21 05:43:30 +00:00 committed by Cedric BAIL
parent 00d58640e5
commit 9336e2c51c
1 changed files with 14 additions and 9 deletions

View File

@ -1,10 +1,15 @@
system_modules = [
'systemd',
'upower',
#'tizen',
]
foreach system_module : system_modules
mod_install_dir = join_paths(dir_lib, 'ecore', 'system', system_module, version_name)
subdir(join_paths('system', system_module))
endforeach
if sys_windows == false
system_modules = [
'systemd',
'upower',
#'tizen',
]
foreach system_module : system_modules
mod_install_dir = join_paths(dir_lib, 'ecore', 'system', system_module, version_name)
subdir(join_paths('system', system_module))
endforeach
endif