[gnome-builder/gnome-builder-3-36] meson: Add generated lsp enum header to lsp sources
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-36] meson: Add generated lsp enum header to lsp sources
- Date: Mon, 30 Mar 2020 18:07:35 +0000 (UTC)
commit 3204c01ae4dd4e070aead354d29a9eca150c78da
Author: Jon Turney <jon turney dronecode org uk>
Date: Sun Mar 29 13:34:01 2020 +0100
meson: Add generated lsp enum header to lsp sources
per the meson documentation for gnome.mkenums(): "Note that if you
#include the generated header in any of the sources for a build target,
you must add the generated header to the build target's list of sources
to codify the dependency."
glib-mkenums is invoked separately to generate the source and header
file, so it's neccessary to establish that dependency when compiling the
generated source file.
src/libide/lsp/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/lsp/meson.build b/src/libide/lsp/meson.build
index af63abff0..cdd6993c1 100644
--- a/src/libide/lsp/meson.build
+++ b/src/libide/lsp/meson.build
@@ -92,7 +92,7 @@ libide_lsp_deps = [
# Library Definitions
#
-libide_lsp = static_library('ide-lsp-' + libide_api_version, libide_lsp_sources,
+libide_lsp = static_library('ide-lsp-' + libide_api_version, libide_lsp_sources,
libide_lsp_generated_headers,
dependencies: libide_lsp_deps,
c_args: libide_args + release_args + ['-DIDE_LSP_COMPILATION'],
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]