Merge pull request #566 from hlmodi/fix-381

Fix 381
This commit is contained in:
Igor Mróz 2022-11-30 10:23:03 +01:00 committed by GitHub
commit 4eda8bdcd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,8 @@ target_link_libraries(Crow
asio::asio
)
target_compile_definitions(Crow INTERFACE "")
if("compression" IN_LIST CROW_FEATURES)
find_package(ZLIB REQUIRED)
target_link_libraries(Crow INTERFACE ZLIB::ZLIB)