pineapple-src/externals/vcpkg/ports/poppler/usage

7 lines
237 B
Text
Raw Normal View History

2022-07-23 01:01:36 +00:00
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)