From kde-core-devel Tue Jun 24 08:06:47 2008 From: Fabrice =?iso-8859-1?q?M=E9nard?= Date: Tue, 24 Jun 2008 08:06:47 +0000 To: kde-core-devel Subject: FindXKB.cmake proposed patch Message-Id: <200806241006.47428.menard.fabrice () orange ! fr> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=121429492814437 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--Boundary-00=_XsKYI8gKzi2FaiW" --Boundary-00=_XsKYI8gKzi2FaiW Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, Helping check_library_exists to find XkbLockModifiers in libX11. Best regards, =2D-=20 =46abrice M=E9nard menard.fabrice@orange.fr --Boundary-00=_XsKYI8gKzi2FaiW Content-Type: text/x-patch; charset="iso-8859-1"; name="FindXKB.cmake.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="FindXKB.cmake.patch" --- kdelibs/cmake/modules/FindXKB.cmake 2008-06-24 09:56:48.000000000 +0200 +++ kdelibs/cmake/modules/FindXKB.cmake.new 2008-06-17 23:57:44.000000000 +0200 @@ -4,7 +4,7 @@ if (X11_XKB_INCLUDE_PATH) MACRO_PUSH_REQUIRED_VARS() set(CMAKE_REQUIRED_LIBRARIES "${X11_LIBRARIES} ${CMAKE_REQUIRED_LIBRARIES}") - check_library_exists(X11 XkbLockModifiers "" HAVE_XKB) + check_library_exists(X11 XkbLockModifiers "${X11_LIBRARY_DIR}" HAVE_XKB) MACRO_POP_REQUIRED_VARS() if (HAVE_XKB) set(XKB_FOUND TRUE) --Boundary-00=_XsKYI8gKzi2FaiW--