Fix meson installation patch

This commit is contained in:
Ben 2023-03-29 19:28:27 +02:00
parent abb80c931d
commit d3568a80cd
Signed by untrusted user: ben
GPG key ID: 1353F41CF1CFF2D3

View file

@ -1,13 +1,14 @@
diff --git a/src/meson.build b/src/meson.build diff --git a/src/meson.build b/src/meson.build
index c809a0f..229688e 100644 index 3bb30c1..83e1651 100644
--- a/src/meson.build --- a/src/meson.build
+++ b/src/meson.build +++ b/src/meson.build
@@ -81,10 +81,12 @@ editor_lib = static_library('editor', editor_sources, @@ -90,11 +90,13 @@ editor_lib = static_library('editor', editor_sources,
include_directories: include_directories('.'), include_directories: include_directories('.'),
dependencies : [qt5_dep, tuiwidgets_dep, posixsignalmanager_dep]) dependencies : [qt5_dep, tuiwidgets_dep, posixsignalmanager_dep])
-executable('editor', main, -executable('editor', main,
+executable('chr', main, +executable('chr', main,
vcs_dep,
include_directories: include_directories('.'), include_directories: include_directories('.'),
link_with: editor_lib, link_with: editor_lib,
- dependencies : [qt5_dep, tuiwidgets_dep, posixsignalmanager_dep]) - dependencies : [qt5_dep, tuiwidgets_dep, posixsignalmanager_dep])
@ -17,4 +18,3 @@ index c809a0f..229688e 100644
executable('tests', tests, executable('tests', tests,
qt5.preprocess(moc_headers: tests_headers, moc_sources: tests, qt5.preprocess(moc_headers: tests_headers, moc_sources: tests,