Re: [CMake] Unexpected find_path() result

2011-06-20 Thread Pere Mato Vila
> If I remember correctly, in -P mode the basic system files, e.g. > CMakeDetermineSystem.cmake etc. are not executed, so cmake doesn't execute > UnixPaths.cmake, which sets all the default search paths, so in your try with > -P only the path you gave to find_path() was searched, the default se

Re: [CMake] Unexpected find_path() result

2011-06-20 Thread Alexander Neundorf
On Monday 20 June 2011, Pere Mato Vila wrote: > I am on a MaxOSX system with cmake version 2.8.4 and I am having problems > with find_project(x11). I have narrowed the problem with a very simple > test. The following lines as top level CMakeLists.txt file > > cmake_minimum_required(VERSION 2.8) >

[CMake] Unexpected find_path() result

2011-06-20 Thread Pere Mato Vila
I am on a MaxOSX system with cmake version 2.8.4 and I am having problems with find_project(x11). I have narrowed the problem with a very simple test. The following lines as top level CMakeLists.txt file cmake_minimum_required(VERSION 2.8) find_path(X11_Xft_INCLUDE_PATH X11/Xft/Xft.h /usr/X11R6/