Hi, Running cmake with -DCMAKE_CXX_COMPILER=g++ gives the following output: -- Check for working CXX compiler: g++ -- Check for working CXX compiler: g++ -- works
But building fails since it tries to use g++ from the build dir. From CMakeCache.txt: CMAKE_CXX_COMPILER:FILEPATH=/home/erik/tmp/test/build/g++ Running cmake with -DCMAKE_CXX_COMPILER:FILEPATH=g++ or even -DCMAKE_CXX_COMPILER:STRING=g++ gives the expected result. From CMakeCache.txt: CMAKE_CXX_COMPILER:FILEPATH=/usr/lib/ccache/g++ Is this the expected behavior? // Erik P.S. Using cmake 2.4.7 -- Erik Johansson Home Page: http://ejohansson.se/ PGP Key: http://ejohansson.se/erik.asc _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake