mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 19:29:08 +08:00
9958c2cac3
* Fix usage of FindPkgConfig module * Update versions
7 lines
237 B
Plaintext
7 lines
237 B
Plaintext
The package poppler can be imported via CMake FindPkgConfig module:
|
|
|
|
find_package(PkgConfig)
|
|
pkg_check_modules(POPPLER_CPP REQUIRED IMPORTED_TARGET poppler-cpp)
|
|
|
|
target_link_libraries(main PRIVATE PkgConfig::POPPLER_CPP)
|