mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 11:32:02 +08:00
163fe7bd3d
* Simplify pkgconfig patch * Export libm usage requirement * Merge ios patch into install patch * Revise portfile * Refactor cmake wrapper into config * Document usage * Update versions
8 lines
282 B
Plaintext
8 lines
282 B
Plaintext
brotli provides CMake targets:
|
|
|
|
find_package(unofficial-brotli CONFIG REQUIRED)
|
|
# Brotli decoder library
|
|
target_link_libraries(main PRIVATE unofficial::brotli::brotlidec)
|
|
# Brotli encoder library
|
|
target_link_libraries(main PRIVATE unofficial::brotli::brotlienc)
|