general: conditionally compile gamemode on linux only

This commit is contained in:
Liam 2023-11-29 14:17:12 -05:00
parent 308b8211ef
commit 0fff56e1ef
3 changed files with 3 additions and 2 deletions

View file

@ -189,7 +189,7 @@ if (ANDROID)
endif()
endif()
if (UNIX)
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
add_subdirectory(gamemode)
endif()