summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 8e1fc696a..04007a538 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -193,7 +193,7 @@ if (ANDROID)
193 endif() 193 endif()
194endif() 194endif()
195 195
196if (CMAKE_SYSTEM_NAME STREQUAL "Linux") 196if (UNIX AND NOT APPLE)
197 add_subdirectory(gamemode) 197 add_subdirectory(gamemode)
198endif() 198endif()
199 199
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index bbc55eb56..2c6fc7657 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -182,7 +182,7 @@ if(ANDROID)
182 ) 182 )
183endif() 183endif()
184 184
185if (CMAKE_SYSTEM_NAME STREQUAL "Linux") 185if (UNIX AND NOT APPLE)
186 target_sources(common PRIVATE 186 target_sources(common PRIVATE
187 linux/gamemode.cpp 187 linux/gamemode.cpp
188 linux/gamemode.h 188 linux/gamemode.h