Rene Salmon wrote: > Ahhh.. That is the problem cmake is not detecting the correct compiler ID. > > hpci6001t(salmr0)139:rm -rf build/ > hpci6001t(salmr0)140:mkdir build > hpci6001t(salmr0)141:cd build > /gpfs01/vol0/salmr0/mspain/fd/build > hpci6001t(salmr0)142:cmake .. > -- The C compiler identification is GNU > -- The Fortran compiler identification is GNU > -- Check for working C compiler: /usr/bin/gcc > -- Check for working C compiler: /usr/bin/gcc -- works
Set environment variables to choose your compiler: $ rm -rf build $ mkdir build $ cd build $ export CC=xlc CXX=xlC FC=xlf $ cmake .. -Brad _______________________________________________ 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