diff options
| author | Eugen Wissner <belka@caraus.de> | 2025-07-29 22:34:54 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2025-07-29 22:37:12 +0200 |
| commit | c1367e494e195999fc3e868ca16df2037ac6899a (patch) | |
| tree | ebe9e928120c32bbde7496960d4b1935d8411942 /CMakeLists.txt | |
| parent | 692edeb8e156f842433cd32236d960223ded4ab0 (diff) | |
| download | katja-c1367e494e195999fc3e868ca16df2037ac6899a.tar.gz | |
Enable C++20 and use cmake 4
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ee00877..cdbe986 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at https://mozilla.org/MPL/2.0/. -cmake_minimum_required(VERSION 3.21) +cmake_minimum_required(VERSION 4.0) project(Katja) include(CTest) @@ -10,7 +10,8 @@ include(FetchContent) set(CMAKE_EXPORT_COMPILE_COMMANDS 1) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) -set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD 20) +set(CMAKE_CXX_MODULE_STD 1) add_library(katja katja/database.cpp include/katja/database.hpp |
