diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index a02696873..46cf75fde 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt | |||
| @@ -169,7 +169,11 @@ endif() | |||
| 169 | create_target_directory_groups(common) | 169 | create_target_directory_groups(common) |
| 170 | 170 | ||
| 171 | target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile Threads::Threads) | 171 | target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile Threads::Threads) |
| 172 | target_link_libraries(common PRIVATE lz4::lz4) | 172 | if (TARGET lz4::lz4) |
| 173 | target_link_libraries(common PRIVATE lz4::lz4) | ||
| 174 | else() | ||
| 175 | target_link_libraries(common PRIVATE LZ4::lz4_shared) | ||
| 176 | endif() | ||
| 173 | if (TARGET zstd::zstd) | 177 | if (TARGET zstd::zstd) |
| 174 | target_link_libraries(common PRIVATE zstd::zstd) | 178 | target_link_libraries(common PRIVATE zstd::zstd) |
| 175 | else() | 179 | else() |