Преглед изворни кода

Added meson.override_dependency if running as a subproject.

Aaro Saila пре 1 месец
родитељ
комит
61301a8862
1 измењених фајлова са 4 додато и 0 уклоњено
  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