Blezek, Daniel J., Ph.D. wrote:
Bill Hoffman wrote:
Yes, it would, and it should go in the Platforms directory for the
compiler. Is Linux-icpc.cmake the one that gets included for you?
$ grep Linux-icpc */*
CMakeFiles/Makefile.cmake:
"/mi3c/software/share/cmake-2.4/Modules/Platform/Linux-icpc.cmake"
-dan
OK, so that is the file being used. Can you try adding the following
to the end of Linux-icpc.cmake and see if it works out of the box for you:
FIND_PROGRAM(XIAR xiar)
IF(XIAR)
SET( CMAKE_AR "${XIAR}")
ENDIF(XIAR)
MARK_AS_ADVANCED(XIAR)
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake