diff options
| author | 2023-03-16 15:00:34 -0400 | |
|---|---|---|
| committer | 2023-06-03 00:05:43 -0700 | |
| commit | b19754c73fbef3e20069ed6e0b69622e82b64da0 (patch) | |
| tree | 60c9fee156a1fc1c8668a94358eeb1a926f0eca5 /src | |
| parent | cmake: download architecture-specific ffmpeg for android (diff) | |
| download | yuzu-b19754c73fbef3e20069ed6e0b69622e82b64da0.tar.gz yuzu-b19754c73fbef3e20069ed6e0b69622e82b64da0.tar.xz yuzu-b19754c73fbef3e20069ed6e0b69622e82b64da0.zip | |
common: link libandroid on android
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index aecb46872..efc4a9fe9 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt | |||
| @@ -202,6 +202,11 @@ create_target_directory_groups(common) | |||
| 202 | 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) |
| 203 | target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd LLVM::Demangle) | 203 | target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd LLVM::Demangle) |
| 204 | 204 | ||
| 205 | if (ANDROID) | ||
| 206 | # For ASharedMemory_create | ||
| 207 | target_link_libraries(common PRIVATE android) | ||
| 208 | endif() | ||
| 209 | |||
| 205 | if (YUZU_USE_PRECOMPILED_HEADERS) | 210 | if (YUZU_USE_PRECOMPILED_HEADERS) |
| 206 | target_precompile_headers(common PRIVATE precompiled_headers.h) | 211 | target_precompile_headers(common PRIVATE precompiled_headers.h) |
| 207 | endif() | 212 | endif() |