summaryrefslogtreecommitdiff
path: root/src/lib/ector
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ector')
-rw-r--r--src/lib/ector/cairo/meson.build9
-rw-r--r--src/lib/ector/gl/meson.build9
-rw-r--r--src/lib/ector/meson.build8
-rw-r--r--src/lib/ector/software/meson.build9
4 files changed, 23 insertions, 12 deletions
diff --git a/src/lib/ector/cairo/meson.build b/src/lib/ector/cairo/meson.build
index 123ea90d1f..094aedb3e6 100644
--- a/src/lib/ector/cairo/meson.build
+++ b/src/lib/ector/cairo/meson.build
@@ -31,6 +31,9 @@ foreach eo_file : pub_eo_files
31 '-gchd', '@INPUT@']) 31 '-gchd', '@INPUT@'])
32endforeach 32endforeach
33 33
34install_data(pub_eo_files, 34
35 install_dir: join_paths(eolian_include_dir, package_version_name) 35if get_option('install-eo-files')
36) 36 install_data(pub_eo_files,
37 install_dir: join_paths(eolian_include_dir, package_version_name)
38 )
39endif
diff --git a/src/lib/ector/gl/meson.build b/src/lib/ector/gl/meson.build
index 071e98eaee..ab87d79b4d 100644
--- a/src/lib/ector/gl/meson.build
+++ b/src/lib/ector/gl/meson.build
@@ -34,6 +34,9 @@ foreach eo_file : pub_eo_files
34 '-gchd', '@INPUT@']) 34 '-gchd', '@INPUT@'])
35endforeach 35endforeach
36 36
37install_data(pub_eo_files, 37
38 install_dir: join_paths(eolian_include_dir, package_version_name) 38if get_option('install-eo-files')
39) 39 install_data(pub_eo_files,
40 install_dir: join_paths(eolian_include_dir, package_version_name)
41 )
42endif
diff --git a/src/lib/ector/meson.build b/src/lib/ector/meson.build
index 5b86466873..069e98d9e7 100644
--- a/src/lib/ector/meson.build
+++ b/src/lib/ector/meson.build
@@ -55,9 +55,11 @@ pub_eo_types_files = [
55 'ector_types.eot' 55 'ector_types.eot'
56] 56]
57 57
58install_data(ector_pub_eo_files + pub_eo_types_files, 58if get_option('install-eo-files')
59 install_dir: join_paths(eolian_include_dir, package_version_name) 59 install_data(ector_pub_eo_files + pub_eo_types_files,
60) 60 install_dir: join_paths(eolian_include_dir, package_version_name)
61 )
62endif
61 63
62foreach eo_file : pub_eo_types_files 64foreach eo_file : pub_eo_types_files
63 pub_eo_file_target += custom_target('eolian_gen_' + eo_file, 65 pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
diff --git a/src/lib/ector/software/meson.build b/src/lib/ector/software/meson.build
index 1484553374..2dff5be26c 100644
--- a/src/lib/ector/software/meson.build
+++ b/src/lib/ector/software/meson.build
@@ -45,6 +45,9 @@ if cpu_sse3 == true
45 ector_opt_lib += [ ector_opt ] 45 ector_opt_lib += [ ector_opt ]
46endif 46endif
47 47
48install_data(pub_eo_files, 48
49 install_dir: join_paths(eolian_include_dir, package_version_name) 49if get_option('install-eo-files')
50) 50 install_data(pub_eo_files,
51 install_dir: join_paths(eolian_include_dir, package_version_name)
52 )
53endif