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

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)