diff options
| author | 2023-11-29 12:33:09 -0500 | |
|---|---|---|
| committer | 2023-11-29 12:33:09 -0500 | |
| commit | 337e37f91dcc7d5b6a0a5da3f3196aa0f8df4143 (patch) | |
| tree | 70d10b1f7919e6ed6709acab3259c69b038add6c /src/common/CMakeLists.txt | |
| parent | Merge pull request #11902 from ameerj/ssbo-align (diff) | |
| parent | cmake: move gamemode target include into its file (diff) | |
| download | yuzu-337e37f91dcc7d5b6a0a5da3f3196aa0f8df4143.tar.gz yuzu-337e37f91dcc7d5b6a0a5da3f3196aa0f8df4143.tar.xz yuzu-337e37f91dcc7d5b6a0a5da3f3196aa0f8df4143.zip | |
Merge pull request #11946 from flodavid/gamemode
Enable (Feral Interactive) Gamemode on Linux
Diffstat (limited to 'src/common/CMakeLists.txt')
| -rw-r--r-- | src/common/CMakeLists.txt | 9 |
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) | |||
| 174 | ) | 174 | ) |
| 175 | endif() | 175 | endif() |
| 176 | 176 | ||
| 177 | if (UNIX) | ||
| 178 | target_sources(common PRIVATE | ||
| 179 | linux/gamemode.cpp | ||
| 180 | linux/gamemode.h | ||
| 181 | ) | ||
| 182 | |||
| 183 | target_link_libraries(common PRIVATE gamemode) | ||
| 184 | endif() | ||
| 185 | |||
| 177 | if(ARCHITECTURE_x86_64) | 186 | if(ARCHITECTURE_x86_64) |
| 178 | target_sources(common | 187 | target_sources(common |
| 179 | PRIVATE | 188 | PRIVATE |