Skip to content

Commit

Permalink
pkgconfig: add zlib to Requires.private if compiled with DEFLATE_HEAD…
Browse files Browse the repository at this point in the history
…ER_COMPRESSION (fixes #1057)
  • Loading branch information
farindk committed Dec 14, 2023
1 parent 949ac18 commit c6883e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,10 @@ endif()
if (LIBSHARPYUV_FOUND)
list(APPEND REQUIRES_PRIVATE "libsharpyuv")
endif()
if (WITH_DEFLATE_HEADER_COMPRESSION)
list(APPEND REQUIRES_PRIVATE "zlib")
endif()

list(JOIN REQUIRES_PRIVATE " " REQUIRES_PRIVATE)

include(CheckCXXSymbolExists)
Expand Down

0 comments on commit c6883e6

Please sign in to comment.