[CMake] Supporting the Intel Compiler -- buildingstatic libraries
Blezek, Daniel J., Ph.D.
Blezek.Daniel at mayo.edu
Fri Apr 18 13:17:31 EDT 2008
Bill Hoffman wrote:
> 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)
No, XIAR was properly set, but CMAKE_AR was /usr/bin/ar. This did work
with a -DCMAKE_AR arg to the initial run of cmake though.
Regards,
-dan
More information about the CMake
mailing list