summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Alexandre Bouvier2023-11-03 19:27:08 +0100
committerGravatar Alexandre Bouvier2023-11-30 16:54:00 +0100
commitd2bb9e9729bbdeb396817c2335c4fafbf5ac94a2 (patch)
treef09b1f3a4c07ffdd1ba36ad6993a3220c5fbdf0b /src
parentMerge pull request #12229 from liamwhite/qcom-wtf (diff)
downloadyuzu-d2bb9e9729bbdeb396817c2335c4fafbf5ac94a2.tar.gz
yuzu-d2bb9e9729bbdeb396817c2335c4fafbf5ac94a2.tar.xz
yuzu-d2bb9e9729bbdeb396817c2335c4fafbf5ac94a2.zip
cmake: prefer system gamemode library
Diffstat (limited to 'src')
-rw-r--r--src/common/CMakeLists.txt2
-rw-r--r--src/yuzu/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 2c6fc7657..b58a7073f 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -188,7 +188,7 @@ if (UNIX AND NOT APPLE)
188 linux/gamemode.h 188 linux/gamemode.h
189 ) 189 )
190 190
191 target_link_libraries(common PRIVATE gamemode) 191 target_link_libraries(common PRIVATE gamemode::headers)
192endif() 192endif()
193 193
194if(ARCHITECTURE_x86_64) 194if(ARCHITECTURE_x86_64)
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt
index f3ad2214b..90278052a 100644
--- a/src/yuzu/CMakeLists.txt
+++ b/src/yuzu/CMakeLists.txt
@@ -386,7 +386,7 @@ if (NOT WIN32)
386 target_include_directories(yuzu PRIVATE ${Qt${QT_MAJOR_VERSION}Gui_PRIVATE_INCLUDE_DIRS}) 386 target_include_directories(yuzu PRIVATE ${Qt${QT_MAJOR_VERSION}Gui_PRIVATE_INCLUDE_DIRS})
387endif() 387endif()
388if (UNIX AND NOT APPLE) 388if (UNIX AND NOT APPLE)
389 target_link_libraries(yuzu PRIVATE Qt${QT_MAJOR_VERSION}::DBus gamemode) 389 target_link_libraries(yuzu PRIVATE Qt${QT_MAJOR_VERSION}::DBus)
390endif() 390endif()
391 391
392target_compile_definitions(yuzu PRIVATE 392target_compile_definitions(yuzu PRIVATE