mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 09:41:36 +08:00
d10528c848
* [cairo] Add usage * update version
12 lines
464 B
Plaintext
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)
|