[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: CMake doesn't find new release of X11
From:       James Richard Tyrer <tyrerj () acm ! org>
Date:       2007-06-13 8:41:07
Message-ID: 466FADA3.7080906 () acm ! org
[Download RAW message or body]

Gary L. Greene, Jr. wrote:
> On Tuesday 12 June 2007 12:05:30 pm Thiago Macieira wrote:
>> James Richard Tyrer wrote:
>>> Am I the only person that installed release 7 or X11 in the directory:
>>>
>>>         /usr/X11R7
>>>
>>> ??
>> Probably :-)
>>
>> I think X.org now recommends installing in /usr.
> 
> Great.... This means that I'll need to patch the FindX11.cmake on AltimatOS, 
> as we are planning on putting X11 at /opt/X11R7.... :S
> 
> James, can you send me your patch to that so I can apply a modified version of 
> it here? Thanks.

svn diff:

Index: cmake/modules/FindX11.cmake
===================================================================
--- cmake/modules/FindX11.cmake (revision 674603)
+++ cmake/modules/FindX11.cmake (working copy)
@@ -46,6 +46,7 @@ IF (UNIX)
    SET(X11_INC_SEARCH_PATH
      /usr/pkg/xorg/include
      /usr/pkg/include
+    /usr/X11R7/include
      /usr/X11R6/include
      /usr/local/include
      /usr/include/X11
@@ -58,6 +59,7 @@ IF (UNIX)
    SET(X11_LIB_SEARCH_PATH
      /usr/pkg/xorg/lib
      /usr/pkg/lib
+    /usr/X11R7/lib
      /usr/X11R6/lib
      /usr/local/lib
      /usr/openwin/lib

IIUC, the other KDE modules refer back to this so you only need to add 
additional paths for X11 in these two places.

-- 
JRT
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic