1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-05-18 15:17:46 +00:00

Don't show gamemode CMake option on Windows/macOS

This commit is contained in:
Joshua Goins 2024-04-25 20:03:13 -04:00
parent b3e03ee2fe
commit e4de39d60d

View file

@ -8,7 +8,9 @@ project(Astra VERSION 0.6.0 LANGUAGES CXX)
option(BUILD_FLATPAK "Build for Flatpak." OFF) option(BUILD_FLATPAK "Build for Flatpak." OFF)
# options for features you may want or need # options for features you may want or need
option(ENABLE_GAMEMODE "Build with Feral GameMode support, requires the daemon to be installed." ON) if (NOT WIN32 AND NOT APPLE)
option(ENABLE_GAMEMODE "Build with Feral GameMode support, requires the daemon to be installed." ON)
endif()
set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)