diff --git a/MMCore/meson.build b/MMCore/meson.build index 0373d739a..3049fbb65 100644 --- a/MMCore/meson.build +++ b/MMCore/meson.build @@ -99,7 +99,10 @@ mmcore_lib = static_library( 'MMCore', sources: mmcore_sources, include_directories: mmcore_include_dir, - dependencies: mmdevice_dep, + dependencies: [ + mmdevice_dep, + dependency('threads'), + ], cpp_args: [ '-D_CRT_SECURE_NO_WARNINGS', # TODO Eliminate the need ], diff --git a/MMDevice/meson.build b/MMDevice/meson.build index a7f21a8d2..dcddc8cb0 100644 --- a/MMDevice/meson.build +++ b/MMDevice/meson.build @@ -50,6 +50,9 @@ mmdevice_lib = static_library( # MMDevice does not depend on any external library. This is a big advantage # in simplifing its usage (given hundreds of device adapters depending on # MMDevice), so think twice before adding dependencies. + dependencies: [ + dependency('threads'), + ], ) subdir('unittest')