From b19754c73fbef3e20069ed6e0b69622e82b64da0 Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 16 Mar 2023 15:00:34 -0400 Subject: common: link libandroid on android --- src/common/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) 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) target_link_libraries(common PUBLIC Boost::context Boost::headers fmt::fmt microprofile Threads::Threads) target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd LLVM::Demangle) +if (ANDROID) + # For ASharedMemory_create + target_link_libraries(common PRIVATE android) +endif() + if (YUZU_USE_PRECOMPILED_HEADERS) target_precompile_headers(common PRIVATE precompiled_headers.h) endif() -- cgit v1.2.3