cmake LIBPOPPLER_CATALOG_HAS_STRUCTTREEROOT examples

malaterre/GDCM Applications/Cxx/CMakeLists.txt :89

CHECK_CXX_SOURCE_COMPILES(
    "\#include <poppler/PDFDoc.h>\n#include <poppler/StructTreeRoot.h>\nint main() { Catalog c(NULL); c.getStructTreeRoot()->getDoc(); return 0;}"
    LIBPOPPLER_CATALOG_HAS_STRUCTTREEROOT)