summaryrefslogtreecommitdiff
path: root/src/common/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/CMakeLists.txt')
-rw-r--r--src/common/CMakeLists.txt13
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)
156endif() 156endif()
157 157
158if(ANDROID)
159 target_sources(common
160 PRIVATE
161 fs/fs_android.cpp
162 fs/fs_android.h
163 )
164endif()
165
158if(ARCHITECTURE_x86_64) 166if(ARCHITECTURE_x86_64)
159 target_sources(common 167 target_sources(common
160 PRIVATE 168 PRIVATE
@@ -194,6 +202,11 @@ create_target_directory_groups(common)
194target_link_libraries(common PUBLIC Boost::context Boost::headers fmt::fmt microprofile Threads::Threads) 202target_link_libraries(common PUBLIC Boost::context Boost::headers fmt::fmt microprofile Threads::Threads)
195target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd LLVM::Demangle) 203target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd LLVM::Demangle)
196 204
205if (ANDROID)
206 # For ASharedMemory_create
207 target_link_libraries(common PRIVATE android)
208endif()
209
197if (YUZU_USE_PRECOMPILED_HEADERS) 210if (YUZU_USE_PRECOMPILED_HEADERS)
198 target_precompile_headers(common PRIVATE precompiled_headers.h) 211 target_precompile_headers(common PRIVATE precompiled_headers.h)
199endif() 212endif()