From 25a4264d5f044d46f331ec59bd312fd0d3f3c644 Mon Sep 17 00:00:00 2001 From: autoantwort Date: Sat, 16 Nov 2024 14:31:23 +0100 Subject: [PATCH] Project requires at least C++20 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3f012e3..5cf0905 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,6 +33,7 @@ endif() # Create the library target and named header set for beman_optional26 add_library(beman_optional26 STATIC) +target_compile_features(beman_optional26 PUBLIC cxx_std_20) target_sources( beman_optional26 PUBLIC FILE_SET beman_optional26_headers TYPE HEADERS BASE_DIRS src include