summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--externals/CMakeLists.txt2
-rw-r--r--src/common/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index 40ec20f3d..3213a16ef 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -189,7 +189,7 @@ if (ANDROID)
189 endif() 189 endif()
190endif() 190endif()
191 191
192if (CMAKE_SYSTEM_NAME STREQUAL "Linux") 192if (UNIX AND NOT APPLE)
193 add_subdirectory(gamemode) 193 add_subdirectory(gamemode)
194endif() 194endif()
195 195
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 2651daadb..289760c40 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -174,7 +174,7 @@ if(ANDROID)
174 ) 174 )
175endif() 175endif()
176 176
177if (CMAKE_SYSTEM_NAME STREQUAL "Linux") 177if (UNIX AND NOT APPLE)
178 target_sources(common PRIVATE 178 target_sources(common PRIVATE
179 linux/gamemode.cpp 179 linux/gamemode.cpp
180 linux/gamemode.h 180 linux/gamemode.h