Fix serializer install and remove unneeded prefix

Fixes #950
parent 05629072
...@@ -2,9 +2,7 @@ ...@@ -2,9 +2,7 @@
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
prefix = get_option('prefix') configure_file(input: 'version.h.in', output: 'version.h', configuration: version_data_conf, install: get_option('PISTACHE_INSTALL'), install_dir: get_option('includedir')/'pistache')
configure_file(input: 'version.h.in', output: 'version.h', configuration: version_data_conf, install: get_option('PISTACHE_INSTALL'), install_dir: prefix/get_option('includedir')/'pistache')
install_headers([ install_headers([
'async.h', 'async.h',
...@@ -46,4 +44,4 @@ install_headers([ ...@@ -46,4 +44,4 @@ install_headers([
'view.h' 'view.h'
], subdir: 'pistache') ], subdir: 'pistache')
install_subdir('thirdparty', install_dir: prefix/get_option('includedir')/'pistache') install_subdir('serializer', install_dir: get_option('includedir')/'pistache')
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