Skip to content

Commit 853496d

Browse files
authored
Update CMakeLists.txt
fix CI by remove CXX_STANDARD for now
1 parent d714331 commit 853496d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ cmake_minimum_required(VERSION 3.25)
55
project(beman.scope DESCRIPTION "Generic Scope Guard" LANGUAGES CXX)
66

77
# Define an option for the C++ standard with a default of 20
8-
option(CXX_STANDARD "C++ standard to use (minimum C++20)" 20)
8+
# tbd remove: option(CXX_STANDARD "C++ standard to use (minimum C++20)" 20)
99

1010
# Ensure the specified standard is at least C++20
11-
if(CXX_STANDARD LESS 20)
11+
if(CMAKE_CXX_STANDARD LESS 20)
1212
message(FATAL_ERROR "The minimum required C++ standard is C++20")
1313
endif()
1414

1515
# Set the C++ standard based on the user input
16-
set(CMAKE_CXX_STANDARD ${CXX_STANDARD})
16+
# tbd remove:set(CMAKE_CXX_STANDARD ${CXX_STANDARD})
1717

1818
enable_testing()
1919

0 commit comments

Comments
 (0)