summaryrefslogtreecommitdiff
path: root/src/common/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Fernando S2023-10-10 11:48:06 +0200
committerGravatar GitHub2023-10-10 11:48:06 +0200
commitb28b05e2aafc2ee3fff67eee8d81ecf56267f2a3 (patch)
tree9e456a3b5837af571240a500b8960f65f7d5a73a /src/common/CMakeLists.txt
parentMerge pull request #11650 from german77/lle_album (diff)
parentcommon: add arm64 native clock (diff)
downloadyuzu-b28b05e2aafc2ee3fff67eee8d81ecf56267f2a3.tar.gz
yuzu-b28b05e2aafc2ee3fff67eee8d81ecf56267f2a3.tar.xz
yuzu-b28b05e2aafc2ee3fff67eee8d81ecf56267f2a3.zip
Merge pull request #11718 from liamwhite/arm64-native-clock
common: add arm64 native clock
Diffstat (limited to 'src/common/CMakeLists.txt')
-rw-r--r--src/common/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 416203c59..8a1861051 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -189,6 +189,14 @@ if(ARCHITECTURE_x86_64)
189 target_link_libraries(common PRIVATE xbyak::xbyak) 189 target_link_libraries(common PRIVATE xbyak::xbyak)
190endif() 190endif()
191 191
192if (ARCHITECTURE_arm64 AND (ANDROID OR LINUX))
193 target_sources(common
194 PRIVATE
195 arm64/native_clock.cpp
196 arm64/native_clock.h
197 )
198endif()
199
192if (MSVC) 200if (MSVC)
193 target_compile_definitions(common PRIVATE 201 target_compile_definitions(common PRIVATE
194 # The standard library doesn't provide any replacement for codecvt yet 202 # The standard library doesn't provide any replacement for codecvt yet