vcpkg/ports/poppler/usage
Kai Pastor 9958c2cac3
Fix usage of FindPkgConfig module (#23708)
* Fix usage of FindPkgConfig module

* Update versions
2022-03-22 21:21:50 -07:00

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)