0
0
Fork 0
mirror of https://github.com/id-Software/DOOM-3-BFG.git synced 2025-04-14 14:01:06 +00:00

Added CMake FLATPAK option for testing

This commit is contained in:
Robert Beckebans 2025-03-31 11:32:59 +02:00
parent d3ebb1f6ac
commit 1d4846222d

View file

@ -65,7 +65,10 @@ option(OPTICK
option(RETAIL
"Strip certain developer features and cheats from shipping builds" OFF)
set(NVRHI_INSTALL OFF)
option(FLATPAK
"Strip certain developer features and cheats from flatpak builds" OFF)
#set(NVRHI_INSTALL OFF)
set(CPU_TYPE "" CACHE STRING "When set, passes this string as CPU-ID which will be embedded into the binary.")
@ -425,7 +428,7 @@ add_subdirectory(idlib)
# RB: there haven't been requests for a separate map compiler executable by macOS users
# and it is ok to not support it until someone also supports TrenchBroomBFG on macOS
if(NOT APPLE AND NOT RETAIL)
if(NOT APPLE AND NOT FLATPAK)
add_subdirectory(tools/compilers)
endif()