diff options
Diffstat (limited to 'src/common/CMakeLists.txt')
| -rw-r--r-- | src/common/CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 13ed68b3f..efc4a9fe9 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt | |||
| @@ -155,6 +155,14 @@ if (WIN32) | |||
| 155 | target_link_libraries(common PRIVATE ntdll) | 155 | target_link_libraries(common PRIVATE ntdll) |
| 156 | endif() | 156 | endif() |
| 157 | 157 | ||
| 158 | if(ANDROID) | ||
| 159 | target_sources(common | ||
| 160 | PRIVATE | ||
| 161 | fs/fs_android.cpp | ||
| 162 | fs/fs_android.h | ||
| 163 | ) | ||
| 164 | endif() | ||
| 165 | |||
| 158 | if(ARCHITECTURE_x86_64) | 166 | if(ARCHITECTURE_x86_64) |
| 159 | target_sources(common | 167 | target_sources(common |
| 160 | PRIVATE | 168 | PRIVATE |
| @@ -194,6 +202,11 @@ create_target_directory_groups(common) | |||
| 194 | target_link_libraries(common PUBLIC Boost::context Boost::headers fmt::fmt microprofile Threads::Threads) | 202 | target_link_libraries(common PUBLIC Boost::context Boost::headers fmt::fmt microprofile Threads::Threads) |
| 195 | target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd LLVM::Demangle) | 203 | target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd LLVM::Demangle) |
| 196 | 204 | ||
| 205 | if (ANDROID) | ||
| 206 | # For ASharedMemory_create | ||
| 207 | target_link_libraries(common PRIVATE android) | ||
| 208 | endif() | ||
| 209 | |||
| 197 | if (YUZU_USE_PRECOMPILED_HEADERS) | 210 | if (YUZU_USE_PRECOMPILED_HEADERS) |
| 198 | target_precompile_headers(common PRIVATE precompiled_headers.h) | 211 | target_precompile_headers(common PRIVATE precompiled_headers.h) |
| 199 | endif() | 212 | endif() |