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, 12 insertions, 1 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 24b7a083c..3cc17d0e9 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -32,6 +32,8 @@ add_custom_command(OUTPUT scm_rev.cpp
32 DEPENDS 32 DEPENDS
33 # WARNING! It was too much work to try and make a common location for this list, 33 # WARNING! It was too much work to try and make a common location for this list,
34 # so if you need to change it, please update CMakeModules/GenerateSCMRev.cmake as well 34 # so if you need to change it, please update CMakeModules/GenerateSCMRev.cmake as well
35 "${VIDEO_CORE}/renderer_opengl/gl_arb_decompiler.cpp"
36 "${VIDEO_CORE}/renderer_opengl/gl_arb_decompiler.h"
35 "${VIDEO_CORE}/renderer_opengl/gl_shader_cache.cpp" 37 "${VIDEO_CORE}/renderer_opengl/gl_shader_cache.cpp"
36 "${VIDEO_CORE}/renderer_opengl/gl_shader_cache.h" 38 "${VIDEO_CORE}/renderer_opengl/gl_shader_cache.h"
37 "${VIDEO_CORE}/renderer_opengl/gl_shader_decompiler.cpp" 39 "${VIDEO_CORE}/renderer_opengl/gl_shader_decompiler.cpp"
@@ -108,6 +110,8 @@ add_library(common STATIC
108 common_types.h 110 common_types.h
109 dynamic_library.cpp 111 dynamic_library.cpp
110 dynamic_library.h 112 dynamic_library.h
113 fiber.cpp
114 fiber.h
111 file_util.cpp 115 file_util.cpp
112 file_util.h 116 file_util.h
113 hash.h 117 hash.h
@@ -141,6 +145,8 @@ add_library(common STATIC
141 scm_rev.cpp 145 scm_rev.cpp
142 scm_rev.h 146 scm_rev.h
143 scope_exit.h 147 scope_exit.h
148 spin_lock.cpp
149 spin_lock.h
144 string_util.cpp 150 string_util.cpp
145 string_util.h 151 string_util.h
146 swap.h 152 swap.h
@@ -161,6 +167,8 @@ add_library(common STATIC
161 vector_math.h 167 vector_math.h
162 virtual_buffer.cpp 168 virtual_buffer.cpp
163 virtual_buffer.h 169 virtual_buffer.h
170 wall_clock.cpp
171 wall_clock.h
164 web_result.h 172 web_result.h
165 zstd_compression.cpp 173 zstd_compression.cpp
166 zstd_compression.h 174 zstd_compression.h
@@ -171,12 +179,15 @@ if(ARCHITECTURE_x86_64)
171 PRIVATE 179 PRIVATE
172 x64/cpu_detect.cpp 180 x64/cpu_detect.cpp
173 x64/cpu_detect.h 181 x64/cpu_detect.h
182 x64/native_clock.cpp
183 x64/native_clock.h
174 x64/xbyak_abi.h 184 x64/xbyak_abi.h
175 x64/xbyak_util.h 185 x64/xbyak_util.h
176 ) 186 )
177endif() 187endif()
178 188
179create_target_directory_groups(common) 189create_target_directory_groups(common)
190find_package(Boost 1.71 COMPONENTS context headers REQUIRED)
180 191
181target_link_libraries(common PUBLIC Boost::boost fmt::fmt microprofile) 192target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile)
182target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd xbyak) 193target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd xbyak)