[CMake] trouble setting compiler using ccmake

Wojciech Jarosz wjarosz at ucsd.edu
Fri Jan 5 12:19:48 EST 2007


Using ccmake to try to modify the c or c++ compiler (to use g++32
instead of g++ for instance) doesn't work. When I modify the value and
then press c to configure it resets my CMAKE_CXX_COMPILER variable to
/usr/bin/c++. If I provide these values on the command line using
-DCMAKE_CXX_COMPILER=/usr/bin/g++32 then it works fine (and it also
puts an asterisk next to the name). What is the proper way of changing
values in ccmake so that they stick?

thanks,
-wojciech


More information about the CMake mailing list