summaryrefslogtreecommitdiff
path: root/src/common/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Liam2023-11-29 14:17:12 -0500
committerGravatar Liam2023-11-29 14:26:11 -0500
commit5eec980a2d710a1fa1bfb0f8ba58ecdae3aab04d (patch)
tree039dc2b3dc42aa51df063a873bbd0b78cfbe227f /src/common/CMakeLists.txt
parentMerge pull request #12204 from t895/config-migration (diff)
downloadyuzu-5eec980a2d710a1fa1bfb0f8ba58ecdae3aab04d.tar.gz
yuzu-5eec980a2d710a1fa1bfb0f8ba58ecdae3aab04d.tar.xz
yuzu-5eec980a2d710a1fa1bfb0f8ba58ecdae3aab04d.zip
general: conditionally compile gamemode on linux only
Diffstat (limited to 'src/common/CMakeLists.txt')
-rw-r--r--src/common/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 57cbb9d07..2651daadb 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -174,7 +174,7 @@ if(ANDROID)
174 ) 174 )
175endif() 175endif()
176 176
177if (UNIX) 177if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
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