From 56c3e8dbc3694803ca30939b031dad05f7ae3772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Lamotte=20=28Klaim=29?= Date: Sat, 10 Dec 2022 22:01:57 +0100 Subject: [PATCH] Attempt to fix meta-data in the installed-use scenario --- fmt/buildfile | 1 + tests/basics/buildfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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{**}