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:
@@ -29,4 +29,4 @@ elif (llevel == 'critical')
|
||||
endif
|
||||
|
||||
log_argument = '-DQUILL_COMPILE_ACTIVE_LOG_LEVEL=' + log_argument
|
||||
add_project_arguments(log_argument, language: 'cpp')
|
||||
gridfire_args += [log_argument]
|
||||
|
||||
@@ -9,7 +9,11 @@ if get_option('pkg_config')
|
||||
libgridfire,
|
||||
libcomposition,
|
||||
libconst,
|
||||
liblogging
|
||||
liblogging,
|
||||
libcppad_static,
|
||||
libcvode_static,
|
||||
libkinsol_static
|
||||
|
||||
],
|
||||
subdirs: ['gridfire'],
|
||||
filebase: 'gridfire',
|
||||
|
||||
Reference in New Issue
Block a user