podofo provides CMake targets: find_package(podofo CONFIG REQUIRED) target_link_libraries(main PRIVATE $,podofo_shared,podofo_static>)