build(options): Options propegate much more reliably
Build options such as build-python and build-fortran have much more predicatable and sensible behavior
This commit is contained in:
5
src/extern/meson.build
vendored
5
src/extern/meson.build
vendored
@@ -23,4 +23,7 @@ gridfire_extern_dep = declare_dependency(
|
||||
|
||||
install_subdir('include/gridfire', install_dir: get_option('includedir'))
|
||||
|
||||
subdir('fortran')
|
||||
if get_option('build-fortran')
|
||||
message('Configuring Fortran bindings...')
|
||||
subdir('fortran')
|
||||
endif
|
||||
|
||||
@@ -59,6 +59,7 @@ gridfire_dep = declare_dependency(
|
||||
|
||||
install_subdir('include/gridfire', install_dir: get_option('includedir'))
|
||||
|
||||
message('Configuring C API...')
|
||||
subdir('extern')
|
||||
|
||||
if get_option('build-python')
|
||||
|
||||
Reference in New Issue
Block a user