mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 11:59:07 +08:00
7ceccee7f8
* [graphviz] Cleanup * Refresh patches * Versions * Disable #pragma comment lib * DLLs without exports * [librsvg] Modernize * Revise vendored librsvg build * [libcroco] Revise vendored build * [librsvg] Revise vendored build, cont. * [libcroco] Fix version * [librsvg] Fix pc file * [librsvg] Fix config polyfill * Mingw fixes, no abs paths * No abs paths
6 lines
221 B
Plaintext
6 lines
221 B
Plaintext
librsvg can be imported via CMake FindPkgConfig module:
|
|
|
|
find_package(PkgConfig REQUIRED)
|
|
pkg_check_modules(LIBRSVG librsvg-2.0 IMPORTED_TARGET REQUIRED)
|
|
target_link_libraries(main PRIVATE PkgConfig::LIBRSVG)
|