diff --git a/fmt/buildfile b/fmt/buildfile index a44f080..2baeb47 100644 --- a/fmt/buildfile +++ b/fmt/buildfile @@ -12,6 +12,7 @@ lib{fmt}: src/cxx{** -fmt} : include = (!$config.fmt.enable_modules) # no module # Meta data for users lib{fmt}: { + export.metadata = 1 fmt fmt.is_module = [bool] $config.fmt.enable_modules } diff --git a/tests/basics/buildfile b/tests/basics/buildfile index b300ac5..c66f3bc 100644 --- a/tests/basics/buildfile +++ b/tests/basics/buildfile @@ -1,4 +1,4 @@ -import libs = fmt%lib{fmt} +import! [metadata, rule_hint=cxx.link] libs = fmt%lib{fmt} ./ : exe{driver} : {cxx}{driver} hxx{tests.inl} $libs testscript{**}