diff options
Diffstat (limited to 'src/common/CMakeLists.txt')
| -rw-r--r-- | src/common/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index a6dc31b53..b1e0ba6cc 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt | |||
| @@ -124,6 +124,7 @@ add_library(common STATIC | |||
| 124 | settings.h | 124 | settings.h |
| 125 | settings_input.cpp | 125 | settings_input.cpp |
| 126 | settings_input.h | 126 | settings_input.h |
| 127 | socket_types.h | ||
| 127 | spin_lock.cpp | 128 | spin_lock.cpp |
| 128 | spin_lock.h | 129 | spin_lock.h |
| 129 | stream.cpp | 130 | stream.cpp |
| @@ -165,6 +166,7 @@ if(ARCHITECTURE_x86_64) | |||
| 165 | x64/xbyak_abi.h | 166 | x64/xbyak_abi.h |
| 166 | x64/xbyak_util.h | 167 | x64/xbyak_util.h |
| 167 | ) | 168 | ) |
| 169 | target_link_libraries(common PRIVATE xbyak) | ||
| 168 | endif() | 170 | endif() |
| 169 | 171 | ||
| 170 | if (MSVC) | 172 | if (MSVC) |
| @@ -188,7 +190,7 @@ endif() | |||
| 188 | create_target_directory_groups(common) | 190 | create_target_directory_groups(common) |
| 189 | 191 | ||
| 190 | target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile Threads::Threads) | 192 | target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile Threads::Threads) |
| 191 | target_link_libraries(common PRIVATE lz4::lz4 xbyak) | 193 | target_link_libraries(common PRIVATE lz4::lz4) |
| 192 | if (TARGET zstd::zstd) | 194 | if (TARGET zstd::zstd) |
| 193 | target_link_libraries(common PRIVATE zstd::zstd) | 195 | target_link_libraries(common PRIVATE zstd::zstd) |
| 194 | else() | 196 | else() |