Update CMakeLists.txt
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user