diff options
author | Jan <sentrycraft123@gmail.com> | 2024-11-10 17:20:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-10 11:20:32 -0500 |
commit | af2ebd8a8b282e3ddb15cdb8775a4cceb60ae637 (patch) | |
tree | 9610895730ab9003c7ae6185970f164640d7072f /meson.build | |
parent | d1a84c7391f487ae937eda0654e47dcaf97dff2e (diff) | |
download | lite-xl-plugin-manager-af2ebd8a8b282e3ddb15cdb8775a4cceb60ae637.tar.gz lite-xl-plugin-manager-af2ebd8a8b282e3ddb15cdb8775a4cceb60ae637.zip |
reformat executable statement, make installable (#137)
* reformat executable statement, make installable
* assign executable to variable
this will let superprojects resolve it and use it for various build stuff
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/meson.build b/meson.build index e7f9138..9625d01 100644 --- a/meson.build +++ b/meson.build @@ -58,4 +58,17 @@ if get_option('static') cflags += '-DLPM_STATIC' endif -executable('lpm', lpm_source, dependencies: [zlib_dep, lzma_dep, mbedtls_dep, libgit2_dep, libzip_dep, lua_dep, microtar_dep], c_args: cflags) +lpm_exe = executable('lpm', + lpm_source, + dependencies: [ + zlib_dep, + lzma_dep, + mbedtls_dep, + libgit2_dep, + libzip_dep, + lua_dep, + microtar_dep + ], + c_args: cflags, + install: true, +) |