On Tuesday 02 March 2010, J Decker wrote: > I'd like to know why I have to do this at the end of each CMakeLists.txt... > > if( C++ ) > set( CMAKE_C_COMPILER "${CMAKE_CXX_COMPILER}" ) > set( CMAKE_C_COMPILE_OBJECT "${CMAKE_CXX_COMPILE_OBJECT}" ) > endif()
in general, you shouldn't have to do this at all. This is only for very exotic circumstances. Why do you actually do that at all ? Alex _______________________________________________ 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