diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-11-29 12:33:09 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-29 12:33:09 -0500 |
| commit | 337e37f91dcc7d5b6a0a5da3f3196aa0f8df4143 (patch) | |
| tree | 70d10b1f7919e6ed6709acab3259c69b038add6c /src/common/CMakeLists.txt | |
| parent | 992ca8c358a5c25840d822ca19baa6c64c689088 (diff) | |
| parent | ac11f6e4c5da64db5a6fb2647afbb85164f06086 (diff) | |
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) ) 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 |
