[CMake] Bad flags being passed to NAG Fortran compiler

Neil Carlson neil.n.carlson at gmail.com
Mon Feb 18 11:37:28 EST 2013


Thanks Petr, the ID variable was exactly what I needed.

On Mon, Feb 18, 2013 at 1:24 AM, Alan W. Irwin <irwin at beluga.phys.uvic.ca>wrote:

> I would also try setting
>
> set(CMAKE_Fortran_COMPILE_**OPTIONS_PIC "-PIC")
>
> in Modules/Compiler/NAG-Fortran.**cmake as well to see if that
> completely satisfies your needs.
>

I somehow missed that file, and indeed, adding that line fixes things.
 I'll file a bug report.
Thanks Alan for your help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130218/800192f3/attachment.htm>


More information about the CMake mailing list