Skip to content

Commit

Permalink
[cmake] FindLibZip workaround config link targets we dont handle righ…
Browse files Browse the repository at this point in the history
…t now
  • Loading branch information
fuzzard committed Sep 1, 2023
1 parent efb7a65 commit 2411027
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmake/modules/FindLibZip.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ if(LIBZIP_FOUND)
if(TARGET libzip)
add_dependencies(libzip::zip libzip)
endif()
else()
# ToDo: When we correctly import dependencies cmake targets for the following
# BZip2::BZip2, LibLZMA::LibLZMA, GnuTLS::GnuTLS, Nettle::Nettle,ZLIB::ZLIB
# For now, we just override
set_target_properties(libzip::zip PROPERTIES
INTERFACE_LINK_LIBRARIES "")
endif()
set_property(GLOBAL APPEND PROPERTY INTERNAL_DEPS_PROP libzip::zip)
else()
Expand Down

0 comments on commit 2411027

Please sign in to comment.