From 5eec980a2d710a1fa1bfb0f8ba58ecdae3aab04d Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 29 Nov 2023 14:17:12 -0500 Subject: general: conditionally compile gamemode on linux only --- externals/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'externals') diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 070151bec..40ec20f3d 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -189,7 +189,7 @@ if (ANDROID) endif() endif() -if (UNIX) +if (CMAKE_SYSTEM_NAME STREQUAL "Linux") add_subdirectory(gamemode) endif() -- cgit v1.2.3