mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 20:10:26 +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)
|