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.txt12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 2651daadb..2c6fc7657 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -52,6 +52,7 @@ add_library(common STATIC
52 fiber.cpp 52 fiber.cpp
53 fiber.h 53 fiber.h
54 fixed_point.h 54 fixed_point.h
55 free_region_manager.h
55 fs/file.cpp 56 fs/file.cpp
56 fs/file.h 57 fs/file.h
57 fs/fs.cpp 58 fs/fs.cpp
@@ -166,6 +167,13 @@ if (WIN32)
166 target_link_libraries(common PRIVATE ntdll) 167 target_link_libraries(common PRIVATE ntdll)
167endif() 168endif()
168 169
170if (NOT WIN32)
171 target_sources(common PRIVATE
172 signal_chain.cpp
173 signal_chain.h
174 )
175endif()
176
169if(ANDROID) 177if(ANDROID)
170 target_sources(common 178 target_sources(common
171 PRIVATE 179 PRIVATE
@@ -174,7 +182,7 @@ if(ANDROID)
174 ) 182 )
175endif() 183endif()
176 184
177if (CMAKE_SYSTEM_NAME STREQUAL "Linux") 185if (UNIX AND NOT APPLE)
178 target_sources(common PRIVATE 186 target_sources(common PRIVATE
179 linux/gamemode.cpp 187 linux/gamemode.cpp
180 linux/gamemode.h 188 linux/gamemode.h
@@ -200,7 +208,7 @@ if(ARCHITECTURE_x86_64)
200 target_link_libraries(common PRIVATE xbyak::xbyak) 208 target_link_libraries(common PRIVATE xbyak::xbyak)
201endif() 209endif()
202 210
203if (ARCHITECTURE_arm64 AND (ANDROID OR LINUX)) 211if (HAS_NCE)
204 target_sources(common 212 target_sources(common
205 PRIVATE 213 PRIVATE
206 arm64/native_clock.cpp 214 arm64/native_clock.cpp