vcpkg/ports/poppler/usage

7 lines
233 B
Plaintext
Raw Normal View History

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)