mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 14:51:49 +08:00
d4422c3beb
* Major update to port poppler * Fixup usage requirements via main pc file * Add usage based on FindPkgConfig * Export unofficial cmake config * uwp is unsupported * [gdal] Add poppler feature * [gdal] Update poppler dependency * [gdal] Add patch for poppler C++17 API * Disable ENABLE_RELOCATABLE * Update to 22.02.0 from poppler gitlab * Update versions * [skip actions] CI with gdal tools * Revert "[skip actions] CI with gdal tools" * Modify feature name for private API * Update versions * Add license field to gdal manifest * Add port name to unofficial namespace * Rectify poppler version number * Update versions * poppler[fontconfig] doesn't build for MSVC * Update versions Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
7 lines
236 B
Plaintext
7 lines
236 B
Plaintext
The package poppler can be imported via CMake FindPkgConfig module:
|
|
|
|
include(FindPkgConfig)
|
|
pkg_check_modules(POPPLER_CPP REQUIRED IMPORTED_TARGET poppler-cpp)
|
|
|
|
target_link_libraries(main PRIVATE PkgConfig::poppler-cpp)
|