diff options
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 d38d5c6d1..bbc55eb56 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt | |||
| @@ -182,6 +182,15 @@ if(ANDROID) | |||
| 182 | ) | 182 | ) |
| 183 | endif() | 183 | endif() |
| 184 | 184 | ||
| 185 | if (CMAKE_SYSTEM_NAME STREQUAL "Linux") | ||
| 186 | target_sources(common PRIVATE | ||
| 187 | linux/gamemode.cpp | ||
| 188 | linux/gamemode.h | ||
| 189 | ) | ||
| 190 | |||
| 191 | target_link_libraries(common PRIVATE gamemode) | ||
| 192 | endif() | ||
| 193 | |||
| 185 | if(ARCHITECTURE_x86_64) | 194 | if(ARCHITECTURE_x86_64) |
| 186 | target_sources(common | 195 | target_sources(common |
| 187 | PRIVATE | 196 | PRIVATE |