forked from enlightenment/efl
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:
parent
372374382a
commit
ae543adbd1
|
@ -9,15 +9,6 @@ ector_src += files([
|
||||||
'ector_software_buffer.c',
|
'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 = [
|
pub_eo_files = [
|
||||||
'ector_software_surface.eo',
|
'ector_software_surface.eo',
|
||||||
|
@ -43,6 +34,17 @@ foreach eo_file : pub_eo_files
|
||||||
'-gchd', '@INPUT@'])
|
'-gchd', '@INPUT@'])
|
||||||
endforeach
|
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_data(pub_eo_files,
|
||||||
install_dir: join_paths(eolian_include_dir, package_version_name)
|
install_dir: join_paths(eolian_include_dir, package_version_name)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue