Merge branch 'bilelmoussaoui/fixes' into 'main'

Fix including libmks in a separate project

See merge request chergert/libmks!2
This commit is contained in:
Christian Hergert 2023-03-29 17:07:36 +00:00
commit d4f52a7fdb
2 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@ program `./tools/mks`.
qemu-img create -f qcow2 fedora.img 30G
qemu-system-x86_64 \
-enable-kvm \
-cpu host
-cpu host \
-device virtio-vga-gl,xres=1920,yres=1080 \
-m 8G \
-smp 4 \

View File

@ -23,6 +23,7 @@ libmks_headers = [
'mks-session.h',
'mks-speaker.h',
'mks-types.h',
'mks-version-macros.h',
]
libmks_private_sources = [
@ -60,7 +61,7 @@ libmks_private_sources = [
libmks_enums = gnome.mkenums_simple('mks-enums',
sources: libmks_headers,
install_header: true,
install_dir: join_paths(get_option('libdir'), 'libmks-@0@'.format(api_version)),
install_dir: join_paths(get_option('includedir'), 'libmks-@0@'.format(api_version)),
identifier_prefix: 'Mks',
symbol_prefix: 'mks',
)