fix(cpp_args): properly propegate args

previously Cpp args were set with add_project_argument, which does not work from subprojects. Changed this so args can be set from calling projects
This commit is contained in:
2026-02-03 11:20:21 -05:00
parent 917d416ce2
commit 7ab0d21ba1
6 changed files with 22 additions and 4 deletions

View File

@@ -34,3 +34,10 @@ cppad_dep = declare_dependency(
link_with: libcppad_static,
include_directories: cppad_incs
)
message('Installing CppAD headers to ' + get_option('includedir'))
install_subdir(
'subprojects/CppAD-20250000.2/include',
install_dir: get_option('includedir'),
strip_directory: true
)