mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 05:27:50 +08:00
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)
|