|
|
@@ -169,7 +169,11 @@ endif()
|
|
|
create_target_directory_groups(common)
|
|
|
|
|
|
target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile Threads::Threads)
|
|
|
-target_link_libraries(common PRIVATE lz4::lz4)
|
|
|
+if (TARGET lz4::lz4)
|
|
|
+ target_link_libraries(common PRIVATE lz4::lz4)
|
|
|
+else()
|
|
|
+ target_link_libraries(common PRIVATE LZ4::lz4_shared)
|
|
|
+endif()
|
|
|
if (TARGET zstd::zstd)
|
|
|
target_link_libraries(common PRIVATE zstd::zstd)
|
|
|
else()
|