diff options
| author | 2023-11-03 19:27:08 +0100 | |
|---|---|---|
| committer | 2023-11-30 16:54:00 +0100 | |
| commit | d2bb9e9729bbdeb396817c2335c4fafbf5ac94a2 (patch) | |
| tree | f09b1f3a4c07ffdd1ba36ad6993a3220c5fbdf0b /CMakeLists.txt | |
| 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 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 599f7c831..18b8f7967 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -343,6 +343,10 @@ if(ENABLE_OPENSSL) | |||
| 343 | find_package(OpenSSL 1.1.1 REQUIRED) | 343 | find_package(OpenSSL 1.1.1 REQUIRED) |
| 344 | endif() | 344 | endif() |
| 345 | 345 | ||
| 346 | if (UNIX AND NOT APPLE) | ||
| 347 | find_package(gamemode 1.7 MODULE) | ||
| 348 | endif() | ||
| 349 | |||
| 346 | # Please consider this as a stub | 350 | # Please consider this as a stub |
| 347 | if(ENABLE_QT6 AND Qt6_LOCATION) | 351 | if(ENABLE_QT6 AND Qt6_LOCATION) |
| 348 | list(APPEND CMAKE_PREFIX_PATH "${Qt6_LOCATION}") | 352 | list(APPEND CMAKE_PREFIX_PATH "${Qt6_LOCATION}") |