diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 1ed2cfec..cec5811b 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -77,6 +77,7 @@ add_mp_units_module( MODULE_INTERFACE_UNIT mp-units-core.cpp ) +target_compile_features(mp-units-core INTERFACE cxx_std_20) target_compile_definitions( mp-units-core ${${projectPrefix}TARGET_SCOPE} ${projectPrefix}USE_LIBFMT=$ )