vcpkg/ports/cairo/usage
Lily Wang d10528c848
[cairo] Add usage ()
* [cairo] Add usage

* update version
2023-06-30 17:36:41 -07:00

12 lines
464 B
Plaintext

The package cairo can be imported via CMake FindPkgConfig module:
# cairo
find_package(PkgConfig REQUIRED)
pkg_check_modules(cairo REQUIRED IMPORTED_TARGET cairo)
target_link_libraries(main PkgConfig::cairo)
# cairo-script-interpreter
find_package(PkgConfig REQUIRED)
pkg_check_modules(cairo-script-interpreter REQUIRED IMPORTED_TARGET cairo-script-interpreter)
target_link_libraries(main PkgConfig::cairo-script-interpreter)