Skip to content

Commit 77ab9d1

Browse files
committed
build: update CMake minimum version and C++ standard
- Increased the minimum required CMake version from 3.12 to 3.25 for improved features and compatibility. - Updated the C++ standard from 20 to 23 to leverage new language features. - Removed redundant CMake minimum version declaration from lib/CMakeLists.txt.
1 parent 0b8ad83 commit 77ab9d1

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.12)
1+
cmake_minimum_required(VERSION 3.25)
22

33
project(
44
ovum

cmake/SetCompilerOptions.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
set(CMAKE_CXX_STANDARD 20)
1+
set(CMAKE_CXX_STANDARD 23)
22
set(CMAKE_CXX_STANDARD_REQUIRED ON)
33
set(CMAKE_CXX_EXTENSIONS OFF)
44

lib/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
cmake_minimum_required(VERSION 3.25)
2-
31
add_subdirectory(mylib)
42
add_subdirectory(ui)

0 commit comments

Comments
 (0)