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/include)
message("X11_Xft_INCLUDE_PATH ${X11_Xft_INCLUDE_PATH}")
give me as answer:
Re-run cmake no build system arguments
-- The C compiler identification is GNU
...
X11_Xft_INCLUDE_PATH /usr/include
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/mato/Development/ROOT/testcase
Which is not what I am expecting. While executing it as cmake -P CMakeLists.txt
gives me the correct answer.
X11_Xft_INCLUDE_PATH /usr/X11R6/include
Does anybody has any idea why is this possible and whether there is a
workaround. Thanks very much.
-------------------------------------------------------------
Pere Mato CERN, PH Department, CH 1211 Geneva 23, Switzerland
e-mail: [email protected] tel: +41 22 76 78696
fax: +41 22 76 68792 gsm: +41 76 48 70855
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake