Hi Arindam, Maybe you can try this way: http://www.cmake.org/Wiki/CMake_FAQ#How_do_I_use_a_different_compiler.3F
Xavier On Tue, Oct 9, 2012 at 11:58 AM, Arindam Mukherjee < arindam.muker...@gmail.com> wrote: > Hi, > > I have to get a build of my product on AIX 5.3 (powerpc) because of > backward compatibility concerns. The product builds fine on such a > system using conventional gmake. However, cmake fails to identify the > xlc/xlC compilers correctly and reports them as broken. What is the > way to fix this? > > Could I force cmake to recognize the compilers correctly in some > manual way. I tried using CMAKE_FORCE_C_COMPILER and > CMAKE_FORCE_CXX_COMPILER but it didn't work. I am not sure of the > arguments to pass either. Any help is greatly appreciated. > > Thanks, > Arindam > -- > > 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 >
-- 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