Update CMakeLists.txt

This commit is contained in:
2026-08-26 16:38:37 +12:00
parent befed8ff96
commit 9348605044
+3 -1
View File
@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.20)
project(nebula-shell LANGUAGES CXX)
if(NOT CMAKE_SYSTEM_NAME STREQUAL "Linux")
message(FATAL_ERROR
"nebula-shell is a Linux Wayland shell using LayerShellQt.\n"
@@ -7,7 +9,7 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL "Linux")
"and LayerShellQt is not stubbed with other platform APIs.")
endif()
project(nebula-shell LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)