File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if(NOT USERVER_FORCE_DOWNLOAD_PACKAGES)
3131 OpenSSL::SSL
3232 OpenSSL::Crypto
3333 SASL2::SASL2
34- zstd::zstd
34+ zstd::libzstd
3535 )
3636 return ()
3737 endif ()
Original file line number Diff line number Diff line change @@ -13,3 +13,7 @@ _userver_module_find_include(NAMES yaml-cpp/yaml.h yaml-cpp/node.h PATH_SUFFIXES
1313_userver_module_find_library (NAMES yaml-cpp PATH_SUFFIXES lib )
1414
1515_userver_module_end ()
16+
17+ if (NOT TARGET yaml-cpp::yaml-cpp)
18+ add_library (yaml-cpp::yaml-cpp ALIAS yaml-cpp )
19+ endif ()
Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ _userver_module_find_library(NAMES zstd PATH_SUFFIXES lib)
1313
1414_userver_module_end ()
1515
16- if (NOT TARGET zstd::zstd )
16+ if (NOT TARGET zstd::libzstd )
1717 if (TARGET libzstd_static)
18- add_library (zstd::zstd ALIAS libzstd_static )
18+ add_library (zstd::libzstd ALIAS libzstd_static )
1919 else ()
20- add_library (zstd::zstd ALIAS zstd )
20+ add_library (zstd::libzstd ALIAS zstd )
2121 endif ()
2222endif ()
2323if (NOT TARGET ZSTD::ZSTD)
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ else()
247247 target_link_libraries (
248248 ${PROJECT_NAME}
249249 PUBLIC fmt cctz userver-stacktrace
250- PRIVATE yaml-cpp zstd::zstd cryptopp::cryptopp
250+ PRIVATE yaml-cpp::yaml-cpp zstd::libzstd cryptopp::cryptopp
251251 )
252252
253253 if (CMAKE_SYSTEM_NAME MATCHES "Darwin"
You can’t perform that action at this time.
0 commit comments