From 4960011ca5579a0779c980c69073506afc303d63 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Sat, 6 Jan 2024 08:51:01 +0100 Subject: [PATCH] fix: `cxx_std_20` set for `mp-units::core` --- src/core/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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=$ )