meson: fix build break

Summary:
the optimization that is build here requries a few .eo.h files - so
ensure that they are generated before they are used.
This fixes the build of efl.

Reviewers: ManMower, raster

Reviewed By: ManMower

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7295
This commit is contained in:
Marcel Hollerbach 2018-11-16 10:24:43 -06:00 committed by Derek Foreman
parent 372374382a
commit ae543adbd1
1 changed files with 11 additions and 9 deletions

View File

@ -9,15 +9,6 @@ ector_src += files([
'ector_software_buffer.c',
])
if cpu_sse3 == true
ector_opt = static_library('ector_opt',
sources: [ 'ector_software_gradient_sse3.c' ],
dependencies: ector_pub_deps + [triangulator, freetype, draw, m] + ector_deps,
include_directories: config_dir + [ include_directories('..') ],
c_args: ector_opt_c_args,
)
ector_opt_lib += [ ector_opt ]
endif
pub_eo_files = [
'ector_software_surface.eo',
@ -43,6 +34,17 @@ foreach eo_file : pub_eo_files
'-gchd', '@INPUT@'])
endforeach
if cpu_sse3 == true
ector_opt = static_library('ector_opt',
sources: pub_eo_file_target + [ 'ector_software_gradient_sse3.c' ],
dependencies: ector_pub_deps + [triangulator, freetype, draw, m] + ector_deps,
include_directories: config_dir + [ include_directories('..') ],
c_args: ector_opt_c_args,
)
ector_opt_lib += [ ector_opt ]
endif
install_data(pub_eo_files,
install_dir: join_paths(eolian_include_dir, package_version_name)
)