cmake_minimum_required(VERSION 3.10) project(qpdf-version LANGUAGES CXX) find_package(qpdf) add_executable(qpdf-version qpdf-version.cc) target_link_libraries(qpdf-version qpdf::libqpdf)