summaryrefslogtreecommitdiffstats
path: root/src/common/CMakeLists.txt
diff options
context:
space:
mode:
authorflodavid <fl.david.53@gmail.com>2023-11-03 15:41:16 +0100
committerflodavid <fl.david.53@gmail.com>2023-11-25 19:30:37 +0100
commit40644d43f700cb0075db0eea288078bda7cf4527 (patch)
tree876d26a64a803d2b1509e71a13fe822f1e851c00 /src/common/CMakeLists.txt
parentyuzu: integrate gamemode support on linux (diff)
downloadyuzu-40644d43f700cb0075db0eea288078bda7cf4527.tar
yuzu-40644d43f700cb0075db0eea288078bda7cf4527.tar.gz
yuzu-40644d43f700cb0075db0eea288078bda7cf4527.tar.bz2
yuzu-40644d43f700cb0075db0eea288078bda7cf4527.tar.lz
yuzu-40644d43f700cb0075db0eea288078bda7cf4527.tar.xz
yuzu-40644d43f700cb0075db0eea288078bda7cf4527.tar.zst
yuzu-40644d43f700cb0075db0eea288078bda7cf4527.zip
Diffstat (limited to '')
-rw-r--r--src/common/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index e216eb3de..57cbb9d07 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -174,6 +174,15 @@ if(ANDROID)
)
endif()
+if (UNIX)
+ target_sources(common PRIVATE
+ linux/gamemode.cpp
+ linux/gamemode.h
+ )
+
+ target_link_libraries(common PRIVATE gamemode)
+endif()
+
if(ARCHITECTURE_x86_64)
target_sources(common
PRIVATE