Skip to content

Commit

Permalink
Prepare for new C++ modules support
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaim committed Jun 13, 2023
1 parent 83ff14c commit 568a4a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fmt/buildfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ hxx{version} : in{version} $src_root/manifest
cxx.poptions =+ "-I$src_base/include" "-I$out_root" "-I$src_root"
objs{*}: cxx.poptions += -DFMT_LIB_EXPORT

if($config.fmt.enable_modules)
cxx.poptions =+ -DFMT_MODULE=ON

# Export options.
#
lib{fmt}:
Expand Down

0 comments on commit 568a4a4

Please sign in to comment.