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.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 0a3e2f4d1..3cc17d0e9 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -110,6 +110,8 @@ add_library(common STATIC
110 common_types.h 110 common_types.h
111 dynamic_library.cpp 111 dynamic_library.cpp
112 dynamic_library.h 112 dynamic_library.h
113 fiber.cpp
114 fiber.h
113 file_util.cpp 115 file_util.cpp
114 file_util.h 116 file_util.h
115 hash.h 117 hash.h
@@ -143,6 +145,8 @@ add_library(common STATIC
143 scm_rev.cpp 145 scm_rev.cpp
144 scm_rev.h 146 scm_rev.h
145 scope_exit.h 147 scope_exit.h
148 spin_lock.cpp
149 spin_lock.h
146 string_util.cpp 150 string_util.cpp
147 string_util.h 151 string_util.h
148 swap.h 152 swap.h
@@ -163,6 +167,8 @@ add_library(common STATIC
163 vector_math.h 167 vector_math.h
164 virtual_buffer.cpp 168 virtual_buffer.cpp
165 virtual_buffer.h 169 virtual_buffer.h
170 wall_clock.cpp
171 wall_clock.h
166 web_result.h 172 web_result.h
167 zstd_compression.cpp 173 zstd_compression.cpp
168 zstd_compression.h 174 zstd_compression.h
@@ -173,12 +179,15 @@ if(ARCHITECTURE_x86_64)
173 PRIVATE 179 PRIVATE
174 x64/cpu_detect.cpp 180 x64/cpu_detect.cpp
175 x64/cpu_detect.h 181 x64/cpu_detect.h
182 x64/native_clock.cpp
183 x64/native_clock.h
176 x64/xbyak_abi.h 184 x64/xbyak_abi.h
177 x64/xbyak_util.h 185 x64/xbyak_util.h
178 ) 186 )
179endif() 187endif()
180 188
181create_target_directory_groups(common) 189create_target_directory_groups(common)
190find_package(Boost 1.71 COMPONENTS context headers REQUIRED)
182 191
183target_link_libraries(common PUBLIC Boost::boost fmt::fmt microprofile) 192target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile)
184target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd xbyak) 193target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd xbyak)