305,6 → 305,13 |
message(STATUS "Found poppler") |
message(STATUS "Found poppler libs: ${poppler_LIBRARY}") |
message(STATUS "Found poppler includes: ${poppler_INCLUDE_DIR}") |
if (poppler_VERSION VERSION_GREATER_EQUAL 22.01.0) |
message(STATUS "Poppler Version:" ${poppler_VERSION}) |
message(STATUS "C++17 is the minimum C++ standard since poppler 22.01.0") |
if (CMAKE_CXX_STANDARD LESS 17) |
message(FATAL_ERROR "Please set -DWANT_CPP17=ON on your CMake command line") |
endif() |
endif() |
else() |
message(FATAL_ERROR "Could not find poppler library") |
endif() |