diff options
| author | 2023-11-03 19:27:08 +0100 | |
|---|---|---|
| committer | 2023-11-30 16:54:00 +0100 | |
| commit | d2bb9e9729bbdeb396817c2335c4fafbf5ac94a2 (patch) | |
| tree | f09b1f3a4c07ffdd1ba36ad6993a3220c5fbdf0b /src | |
| parent | Merge pull request #12229 from liamwhite/qcom-wtf (diff) | |
| download | yuzu-d2bb9e9729bbdeb396817c2335c4fafbf5ac94a2.tar.gz yuzu-d2bb9e9729bbdeb396817c2335c4fafbf5ac94a2.tar.xz yuzu-d2bb9e9729bbdeb396817c2335c4fafbf5ac94a2.zip | |
cmake: prefer system gamemode library
Diffstat (limited to '')
| -rw-r--r-- | src/common/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/yuzu/CMakeLists.txt | 2 |
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) |
| 192 | endif() | 192 | endif() |
| 193 | 193 | ||
| 194 | if(ARCHITECTURE_x86_64) | 194 | if(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}) |
| 387 | endif() | 387 | endif() |
| 388 | if (UNIX AND NOT APPLE) | 388 | if (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) |
| 390 | endif() | 390 | endif() |
| 391 | 391 | ||
| 392 | target_compile_definitions(yuzu PRIVATE | 392 | target_compile_definitions(yuzu PRIVATE |