From c5ac7e90cfd0596bb443c41fbaa296ab6cd5eaff Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Sun, 20 Jul 2025 19:01:55 +0200 Subject: cmake for c++20 in master branch --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index be6a2f2..2c5c66f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,9 +3,10 @@ # Redistribution and use of this file is allowed according to the terms of the MIT license. # For details see the COPYRIGHT file distributed with LuaDist. # Please note that the package source code is licensed under its own license. +CMAKE_MINIMUM_REQUIRED(VERSION 3.18) +PROJECT(lanes CXX) +set (CMAKE_CXX_STANDARD 20) -PROJECT(lanes C) -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) FIND_PACKAGE(Lua51 REQUIRED) -- cgit v1.2.3-55-g6feb