Bläddra i källkod

Added meson.override_dependency if running as a subproject.

Aaro Saila 1 månad sedan
förälder
incheckning
61301a8862
1 ändrade filer med 4 tillägg och 0 borttagningar
  1. 4 0
      meson.build

+ 4 - 0
meson.build

@@ -41,6 +41,10 @@ scufcont_dep = declare_dependency(
   version: meson.project_version()
 )
 
+if meson.is_subproject()
+  meson.override_dependency('scufcont', scufcont_dep)
+endif
+
 if get_option('SCUFCONT_BUILD_TESTS') == true
   subdir('tests')
 endif