diff options
Diffstat (limited to 'src/common/CMakeLists.txt')
| -rw-r--r-- | src/common/CMakeLists.txt | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index e216eb3de..b58a7073f 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt | |||
| @@ -52,6 +52,7 @@ add_library(common STATIC | |||
| 52 | fiber.cpp | 52 | fiber.cpp |
| 53 | fiber.h | 53 | fiber.h |
| 54 | fixed_point.h | 54 | fixed_point.h |
| 55 | free_region_manager.h | ||
| 55 | fs/file.cpp | 56 | fs/file.cpp |
| 56 | fs/file.h | 57 | fs/file.h |
| 57 | fs/fs.cpp | 58 | fs/fs.cpp |
| @@ -166,6 +167,13 @@ if (WIN32) | |||
| 166 | target_link_libraries(common PRIVATE ntdll) | 167 | target_link_libraries(common PRIVATE ntdll) |
| 167 | endif() | 168 | endif() |
| 168 | 169 | ||
| 170 | if (NOT WIN32) | ||
| 171 | target_sources(common PRIVATE | ||
| 172 | signal_chain.cpp | ||
| 173 | signal_chain.h | ||
| 174 | ) | ||
| 175 | endif() | ||
| 176 | |||
| 169 | if(ANDROID) | 177 | if(ANDROID) |
| 170 | target_sources(common | 178 | target_sources(common |
| 171 | PRIVATE | 179 | PRIVATE |
| @@ -174,6 +182,15 @@ if(ANDROID) | |||
| 174 | ) | 182 | ) |
| 175 | endif() | 183 | endif() |
| 176 | 184 | ||
| 185 | if (UNIX AND NOT APPLE) | ||
| 186 | target_sources(common PRIVATE | ||
| 187 | linux/gamemode.cpp | ||
| 188 | linux/gamemode.h | ||
| 189 | ) | ||
| 190 | |||
| 191 | target_link_libraries(common PRIVATE gamemode::headers) | ||
| 192 | endif() | ||
| 193 | |||
| 177 | if(ARCHITECTURE_x86_64) | 194 | if(ARCHITECTURE_x86_64) |
| 178 | target_sources(common | 195 | target_sources(common |
| 179 | PRIVATE | 196 | PRIVATE |
| @@ -191,7 +208,7 @@ if(ARCHITECTURE_x86_64) | |||
| 191 | target_link_libraries(common PRIVATE xbyak::xbyak) | 208 | target_link_libraries(common PRIVATE xbyak::xbyak) |
| 192 | endif() | 209 | endif() |
| 193 | 210 | ||
| 194 | if (ARCHITECTURE_arm64 AND (ANDROID OR LINUX)) | 211 | if (HAS_NCE) |
| 195 | target_sources(common | 212 | target_sources(common |
| 196 | PRIVATE | 213 | PRIVATE |
| 197 | arm64/native_clock.cpp | 214 | arm64/native_clock.cpp |