From 0d23993a1839f3e2e603d9791a6d5d5b08586911 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Larouche?= Date: Fri, 17 Mar 2006 13:38:43 +0000 Subject: Forward port of: Actually set X11_Xrender_LIB correctly svn path=/trunk/KDE/kdelibs/; revision=519550 --- modules/FindX11.cmake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules') diff --git a/modules/FindX11.cmake b/modules/FindX11.cmake index d936f8af..958f7659 100644 --- a/modules/FindX11.cmake +++ b/modules/FindX11.cmake @@ -50,6 +50,7 @@ if (UNIX) FIND_LIBRARY(X11_Xcomposite_LIB Xcomposite ${X11_LIB_SEARCH_PATH}) FIND_LIBRARY(X11_Xfixes_LIB Xfixes ${X11_LIB_SEARCH_PATH}) FIND_LIBRARY(X11_Xrandr_LIB Xrandr ${X11_LIB_SEARCH_PATH}) + FIND_LIBRARY(X11_Xrender_LIB Xrender ${X11_LIB_SEARCH_PATH}) FIND_LIBRARY(X11_Xdamage_LIB Xdamage ${X11_LIB_SEARCH_PATH}) FIND_LIBRARY(X11_Xxf86misc_LIB Xxf86misc ${X11_LIB_SEARCH_PATH}) FIND_LIBRARY(X11_Xinerama_LIB Xinerama ${X11_LIB_SEARCH_PATH}) @@ -110,6 +111,10 @@ if (UNIX) set(X11_Xfixes_FOUND TRUE) endif(X11_Xfixes_INCLUDE_PATH) + if(X11_Xrender_INCLUDE_PATH AND X11_Xrender_LIB) + set(X11_Xrender_FOUND TRUE) + endif(X11_Xrender_INCLUDE_PATH AND X11_Xrender_LIB) + if(X11_Xrandr_INCLUDE_PATH) set(X11_Xrandr_FOUND TRUE) endif(X11_Xrandr_INCLUDE_PATH) -- cgit v1.2.1