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

List:       kde-commits
Subject:    Re: KDE/kdelibs/cmake/modules
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2007-02-28 21:10:17
Message-ID: 200702282210.18835.neundorf () kde ! org
[Download RAW message or body]

On Wednesday 28 February 2007 21:35, Dirk Mueller wrote:
> SVN commit 638102 by mueller:
>
> fix X11 detection again. Whats the point of not searching
> X11 in /usr/include, when it is actually installed there
> for almost all newer distros?

By default these directories are searched automatically by cmake, so they 
don't have to be listed explicitely.

David added the NO_SYSTEM_PATH (which is deprecated by NO_DEFAULT_PATH) for 
the FIND_LIBRARY() calls for speed reasons:
http://websvn.kde.org/trunk/KDE/kdelibs/cmake/modules/FindX11.cmake?r1=536135&r2=536154

So either we should use NO_DEFAULT_PATH also for the headers and put the 
default dirs also in the list, or we remove the NO_SYSTEM_PATH for the 
FIND_LIBRARY() and then remove also the default directories.

Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net
[prev in list] [next in list] [prev in thread] [next in thread] 

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