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:
@@ -33,7 +33,7 @@ else
|
||||
endif
|
||||
|
||||
if get_option('openmp_support')
|
||||
add_project_arguments('-DGF_USE_OPENMP', language: 'cpp')
|
||||
gridfire_args += ['-DGF_USE_OPENMP']
|
||||
endif
|
||||
|
||||
if get_option('asan') and get_option('buildtype') != 'debug' and get_option('buildtype') != 'debugoptimized'
|
||||
|
||||
Reference in New Issue
Block a user