summaryrefslogtreecommitdiff
path: root/src/static_libs
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-12 16:41:32 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-12 16:42:17 +0000
commite6c7521f5d0f3b00dd8162787f24dc59ed27d1d1 (patch)
treee0af15a2c4ae2932abf2d9f0adea52468f1fc2d7 /src/static_libs
parentae2d399dd6467beecc0e16d9f851008be99cd998 (diff)
meson - move static libs sraw sse2 inot sse3 build options set
this fixes builds when sse3 is enabled by building with sse3 opts...
Diffstat (limited to 'src/static_libs')
-rw-r--r--src/static_libs/draw/meson.build15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/static_libs/draw/meson.build b/src/static_libs/draw/meson.build
index 1fcc6b1ba8..54c72160d2 100644
--- a/src/static_libs/draw/meson.build
+++ b/src/static_libs/draw/meson.build
@@ -1,6 +1,5 @@
1 1
2draw_src = [ 2draw_src = [
3 'draw_main_sse2.c',
4 'draw_main.c', 3 'draw_main.c',
5 'draw_main_neon.c', 4 'draw_main_neon.c',
6 'draw_main.c', 5 'draw_main.c',
@@ -8,12 +7,26 @@ draw_src = [
8 'draw_alpha_main.c' 7 'draw_alpha_main.c'
9] 8]
10 9
10draw_opt_lib = [ ]
11
12if cpu_sse3 == true
13 draw_opt = static_library('draw_opt',
14 sources: [ 'draw_main_sse2.c' ],
15 include_directories: config_dir + [include_directories(join_paths('..', '..', 'lib'))],
16 c_args: draw_opt_c_args,
17 dependencies : [eina, efl]
18 )
19 draw_opt_lib += [ draw_opt ]
20else
21 draw_src += [ 'draw_main_sse2.c' ]
22endif
11 23
12draw_lib = static_library('draw', 24draw_lib = static_library('draw',
13 draw_src, 25 draw_src,
14 dependencies : [eina, efl], 26 dependencies : [eina, efl],
15 include_directories : config_dir + [include_directories(join_paths('..', '..', 'lib'))], 27 include_directories : config_dir + [include_directories(join_paths('..', '..', 'lib'))],
16 install: false, 28 install: false,
29 link_with: draw_opt_lib,
17) 30)
18 31
19draw = declare_dependency( 32draw = declare_dependency(