summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-11-29 23:11:36 +0100
committerJan Beich <jbeich@FreeBSD.org>2023-11-30 00:05:11 +0100
commitdf96caec793fbf4262a2dee2a77cbd09725a078d (patch)
treebcb255472ae86f2030831c1986ca3d0191ae159f
parentMerge pull request #12223 from liamwhite/fruit-company (diff)
downloadyuzu-df96caec793fbf4262a2dee2a77cbd09725a078d.tar
yuzu-df96caec793fbf4262a2dee2a77cbd09725a078d.tar.gz
yuzu-df96caec793fbf4262a2dee2a77cbd09725a078d.tar.bz2
yuzu-df96caec793fbf4262a2dee2a77cbd09725a078d.tar.lz
yuzu-df96caec793fbf4262a2dee2a77cbd09725a078d.tar.xz
yuzu-df96caec793fbf4262a2dee2a77cbd09725a078d.tar.zst
yuzu-df96caec793fbf4262a2dee2a77cbd09725a078d.zip
-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)
endif()
endif()
-if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
+if (UNIX AND NOT APPLE)
add_subdirectory(gamemode)
endif()
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)
)
endif()
-if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
+if (UNIX AND NOT APPLE)
target_sources(common PRIVATE
linux/gamemode.cpp
linux/gamemode.h