Steven Van Ingelgem wrote:
Hi,


I tried today on a Mac:
ccmake .
& change there the CMAKE_CXX_COMPILER setting from /usr/bin/c++ -> /usr/bin/g++

but it doesn't get saved inside the CMakeCache, and everything is
still being compiled with c++ instead of g++

What can I do to fix this or is this an issue in CMake?


Once the compiler is picked, you can not change it. c++ and g++ should be the same thing on the Mac. If you want g++, you can do this:
export CXX=g++
ccmake .

But, you have to start with a clean build tree.

-Bill
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to