Commit ff2afffb authored by Zeeshan Ali's avatar Zeeshan Ali

build: Allow header to be installed into custom header dir

Thanks to Emmanuele Bassi for pointing this out.
parent 9b67f4c3
......@@ -2,6 +2,7 @@ headers = [ 'gclue-enums.h' ]
header_dir = 'libgeoclue-' + gclue_api_version
install_headers(headers, subdir: header_dir)
install_dir = get_option('includedir') + '/' + header_dir
libgeoclue_public_api_gen_sources = gnome.mkenums_simple(
'gclue-enum-types',
......@@ -9,7 +10,7 @@ libgeoclue_public_api_gen_sources = gnome.mkenums_simple(
header_prefix: '#include <gclue-enums.h>',
decorator : 'GCLUE_ENUMS_H',
install_header: true,
install_dir: 'include/' + header_dir)
install_dir: install_dir)
libgeoclue_public_api_inc = include_directories('.')
libgeoclue_public_api = static_library('geoclue-public-api',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment