mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 18:37:15 +02:00
fix: modules build fixed
This commit is contained in:
@ -25,7 +25,7 @@
|
|||||||
#include <numeric>
|
#include <numeric>
|
||||||
#include <string_view>
|
#include <string_view>
|
||||||
#ifdef MP_UNITS_MODULES
|
#ifdef MP_UNITS_MODULES
|
||||||
import mp_units.core_fmt;
|
import mp_units.core;
|
||||||
#else
|
#else
|
||||||
#include <mp-units/format.h>
|
#include <mp-units/format.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include <ostream>
|
#include <ostream>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#ifdef MP_UNITS_MODULES
|
#ifdef MP_UNITS_MODULES
|
||||||
import mp_units.core_fmt;
|
import mp_units.core;
|
||||||
#else
|
#else
|
||||||
#include <mp-units/bits/external/hacks.h>
|
#include <mp-units/bits/external/hacks.h>
|
||||||
#include <mp-units/bits/fmt.h>
|
#include <mp-units/bits/fmt.h>
|
||||||
|
@ -3,6 +3,4 @@ module;
|
|||||||
export module mp_units;
|
export module mp_units;
|
||||||
|
|
||||||
export import mp_units.core;
|
export import mp_units.core;
|
||||||
export import mp_units.core_fmt;
|
|
||||||
export import mp_units.core_io;
|
|
||||||
export import mp_units.systems;
|
export import mp_units.systems;
|
||||||
|
Reference in New Issue
Block a user