Added meson.override_dependency if running as a subproject.

This commit is contained in:
2026-08-13 19:37:52 +03:00
parent 2e978b93a0
commit 61301a8862
+4
View File
@@ -41,6 +41,10 @@ scufcont_dep = declare_dependency(
version: meson.project_version() version: meson.project_version()
) )
if meson.is_subproject()
meson.override_dependency('scufcont', scufcont_dep)
endif
if get_option('SCUFCONT_BUILD_TESTS') == true if get_option('SCUFCONT_BUILD_TESTS') == true
subdir('tests') subdir('tests')
endif endif