Skip to content

Commit

Permalink
Attempt to fix meta-data in the installed-use scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaim committed Dec 10, 2022
1 parent bef2ed5 commit 56c3e8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions fmt/buildfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
2 changes: 1 addition & 1 deletion tests/basics/buildfile
Original file line number Diff line number Diff line change
@@ -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{**}

Expand Down

0 comments on commit 56c3e8d

Please sign in to comment.