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.txt15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 24b7a083c..d120c8d3d 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"
@@ -96,6 +98,8 @@ add_library(common STATIC
96 algorithm.h 98 algorithm.h
97 alignment.h 99 alignment.h
98 assert.h 100 assert.h
101 atomic_ops.cpp
102 atomic_ops.h
99 detached_tasks.cpp 103 detached_tasks.cpp
100 detached_tasks.h 104 detached_tasks.h
101 bit_field.h 105 bit_field.h
@@ -108,6 +112,8 @@ add_library(common STATIC
108 common_types.h 112 common_types.h
109 dynamic_library.cpp 113 dynamic_library.cpp
110 dynamic_library.h 114 dynamic_library.h
115 fiber.cpp
116 fiber.h
111 file_util.cpp 117 file_util.cpp
112 file_util.h 118 file_util.h
113 hash.h 119 hash.h
@@ -141,6 +147,8 @@ add_library(common STATIC
141 scm_rev.cpp 147 scm_rev.cpp
142 scm_rev.h 148 scm_rev.h
143 scope_exit.h 149 scope_exit.h
150 spin_lock.cpp
151 spin_lock.h
144 string_util.cpp 152 string_util.cpp
145 string_util.h 153 string_util.h
146 swap.h 154 swap.h
@@ -161,6 +169,8 @@ add_library(common STATIC
161 vector_math.h 169 vector_math.h
162 virtual_buffer.cpp 170 virtual_buffer.cpp
163 virtual_buffer.h 171 virtual_buffer.h
172 wall_clock.cpp
173 wall_clock.h
164 web_result.h 174 web_result.h
165 zstd_compression.cpp 175 zstd_compression.cpp
166 zstd_compression.h 176 zstd_compression.h
@@ -171,12 +181,15 @@ if(ARCHITECTURE_x86_64)
171 PRIVATE 181 PRIVATE
172 x64/cpu_detect.cpp 182 x64/cpu_detect.cpp
173 x64/cpu_detect.h 183 x64/cpu_detect.h
184 x64/native_clock.cpp
185 x64/native_clock.h
174 x64/xbyak_abi.h 186 x64/xbyak_abi.h
175 x64/xbyak_util.h 187 x64/xbyak_util.h
176 ) 188 )
177endif() 189endif()
178 190
179create_target_directory_groups(common) 191create_target_directory_groups(common)
192find_package(Boost 1.71 COMPONENTS context headers REQUIRED)
180 193
181target_link_libraries(common PUBLIC Boost::boost fmt::fmt microprofile) 194target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile)
182target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd xbyak) 195target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd xbyak)