vcpkg/ports/thorvg/usage

6 lines
221 B
Plaintext
Raw Permalink Normal View History

The package thorvg can be imported via CMake FindPkgConfig module:
find_package(PkgConfig)
pkg_check_modules(thorvg REQUIRED IMPORTED_TARGET thorvg)
target_link_libraries(main PRIVATE PkgConfig::thorvg)