dannyedel / dspdfviewer

Dual-Screen PDF Viewer for latex-beamer
http://dspdfviewer.danny-edel.de
GNU General Public License v2.0
218 stars 27 forks source link

CMakeLists: use pkg-config to find poppler #69

Closed dannyedel closed 9 years ago

dannyedel commented 9 years ago

This should™ be more stable than find_library, especially because it also lists the include directories.

This, in turn, allows to simply #include <poppler-qtX.h>, avoiding the prefixes, which makes it even nicer.