Skip to content

Commit 5482ab3

Browse files
committed
chore: Set C++ standard to C++17 in CMake configuration
Updated the CMakeLists.txt to specify C++17 as the required C++ standard, ensuring compatibility and modern features across the project. This change enhances the build configuration by enforcing a consistent language standard.
1 parent 98f19fb commit 5482ab3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ project(VMPilot
55
LANGUAGES CXX
66
)
77

8+
set(CMAKE_CXX_STANDARD 17)
9+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
810
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
911
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
1012

0 commit comments

Comments
 (0)