Skip to content
Snippets Groups Projects
Commit 5b7691b1 authored by Simon McVittie's avatar Simon McVittie
Browse files

Merge branch 'wip/smcv/install-enums-correctly' into 'master'

Fix handling of enums.h

See merge request steam/steam-runtime-tools!13
parents 2e8ac53c 520dc344
No related branches found
No related tags found
1 merge request!13Fix handling of enums.h
......@@ -39,7 +39,7 @@ libsteamrt_public_headers = [
enums = gnome.mkenums_simple(
'enums',
install_dir : join_paths('steam-runtime-tools-' + api_major, 'steam-runtime-tools'),
install_dir : join_paths(get_option('includedir'), 'steam-runtime-tools-' + api_major, 'steam-runtime-tools'),
install_header : true,
sources : libsteamrt_public_headers,
)
......@@ -77,6 +77,7 @@ pkg.generate(
libsteamrt_dep = declare_dependency(
include_directories : project_include_dirs,
link_with : libsteamrt,
sources : libsteamrt_public_headers + [enums[1]],
)
if get_option('introspection')
......
......@@ -28,6 +28,7 @@
#define _SRT_IN_SINGLE_HEADER
#include <steam-runtime-tools/architecture.h>
#include <steam-runtime-tools/enums.h>
#include <steam-runtime-tools/library.h>
#undef _SRT_IN_SINGLE_HEADER
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment