At 12:48 PM 2/16/2006, Sören Freudiger wrote:
>hmm, sorry about to say that, but:
>this doesn't seems to work.
>
>bash:
>export CXX="gcc" 
>or
>export CXX="mpicxx"
>
>CMakeLists.txt
>MESSAGE(${CMAKE_CXX_COMPILER})
>
>results in "ccmake ."
>c++
>
>and is CMAKE_CXX_COMPILER set to: /usr/bin/c++
>
>what can I do?
>
>I tested the last stable cmake version 2.2 patch 3 and 2.2 develop from CVS

Did you start with a clean build tree?   This does work, and is tested
on several dashboards.  Once the compiler is set it can not be changed without
removing CMakeCache.txt and all the files in CMakeFiles.   

-Bill

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to