File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ mmdevice_proj = subproject(
3636 ' tests' : tests_option,
3737 },
3838)
39- mmdevice_dep = mmdevice_proj.get_variable (' mmdevice ' )
39+ mmdevice_dep = mmdevice_proj.get_variable (' mmdevice_dep ' )
4040
4141mmcore_sources = files (
4242 ' CircularBuffer.cpp' ,
@@ -117,11 +117,12 @@ mmcore_lib = static_library(
117117
118118subdir (' unittest' )
119119
120- mmcore = declare_dependency (
120+ mmcore_dep = declare_dependency (
121121 include_directories : mmcore_include_dir,
122122 link_with : mmcore_lib,
123123 dependencies : mmdevice_dep,
124124)
125+ meson .override_dependency(' mmcore' , mmcore_dep)
125126
126127# For providing include dir to SWIG when using this project as a subproject
127128swig_include_dirs = mmdevice_proj.get_variable (' swig_include_dirs' ) + [
Original file line number Diff line number Diff line change @@ -60,11 +60,12 @@ mmdevice_lib = static_library(
6060
6161subdir (' unittest' )
6262
63- mmdevice = declare_dependency (
63+ mmdevice_dep = declare_dependency (
6464 compile_args : build_mode_args,
6565 include_directories : mmdevice_include_dir,
6666 link_with : mmdevice_lib,
6767)
68+ meson .override_dependency(' mmdevice' , mmdevice_dep)
6869
6970# For providing include dir to SWIG when using this project as a subproject
7071swig_include_dirs = [meson .current_source_dir()]
You can’t perform that action at this time.
0 commit comments