Fix installation
This commit is contained in:
parent
036dd57524
commit
d3ad818b8e
2 changed files with 4 additions and 2 deletions
|
@ -13,4 +13,6 @@ include_files = [
|
|||
'wren_types.hpp',
|
||||
]
|
||||
|
||||
install_data(sources: include_files, install_dir: 'include/wrenpp')
|
||||
if not meson.is_subproject()
|
||||
install_data(sources: include_files, install_dir: 'include/wrenpp')
|
||||
endif
|
||||
|
|
|
@ -65,7 +65,7 @@ wrenpp = library(meson.project_name(),
|
|||
'src/class_manager.cpp',
|
||||
dependencies: [wren_dep],
|
||||
include_directories: public_incl,
|
||||
install: true,
|
||||
install: (not meson.is_subproject() or get_option('default_library')=='shared'),
|
||||
)
|
||||
wrenpp_dep = declare_dependency(
|
||||
link_with: wrenpp,
|
||||
|
|
Loading…
Reference in a new issue