Skip to content

Commit

Permalink
Add if
Browse files Browse the repository at this point in the history
  • Loading branch information
fdr400 committed Jan 9, 2025
1 parent 3d467dd commit c02b43e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/modules/Findlibzstd.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ _userver_module_find_library(

_userver_module_end()

add_library(zstd::zstd ALIAS libzstd)
if(NOT TARGET zstd::zstd)
add_library(zstd::zstd ALIAS libzstd)
endif()

0 comments on commit c02b43e

Please sign in to comment.