From 42354f1a7f1d74dd7ce7fba905fb99d0a5484ff7 Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher Date: Wed, 16 Sep 2009 17:21:52 +0000 Subject: [PATCH] add CheckCXXSourceCompiles svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=1024495 --- cmake/modules/FindPoppler.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/modules/FindPoppler.cmake b/cmake/modules/FindPoppler.cmake index d1a8ba7b0..7e520e8d8 100644 --- a/cmake/modules/FindPoppler.cmake +++ b/cmake/modules/FindPoppler.cmake @@ -45,6 +45,8 @@ else(_PopplerLinkFlags) endif(_PopplerLinkFlags) if (POPPLER_FOUND) + INCLUDE(CheckCXXSourceCompiles) + set(POPPLER_LIBRARY ${_PopplerLinkFlags}) # the cflags for poppler-qt4 can contain more than one include path