From 16c608bcdb534fd12794c4dedf8ac03b694f5a41 Mon Sep 17 00:00:00 2001 From: ShootingStarDragons Date: Sun, 11 Aug 2024 21:25:58 +0859 Subject: [PATCH] fix: wrong meson build --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index ce4b641..fb0fed3 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project( - 'lala_musicbar', + 'lala-bar', 'rust', version: '0.2.6', license: 'MIT', @@ -12,6 +12,7 @@ if get_option('debug') command = [ cargo, 'build', + '-p', meson.project_name(), '&&', 'cp', meson.global_source_root() / 'target' / 'debug' / meson.project_name(), @@ -21,6 +22,7 @@ else command = [ cargo, 'build', + '-p', meson.project_name(), '--release', '&&', 'cp', meson.global_source_root() / 'target' / 'release' / meson.project_name(),