[CMake] Linker flags not considered

Rolf Eike Beer eike at sf-mail.de
Wed Oct 12 12:30:20 EDT 2011


On Mi., 12. Okt. 2011 17:05:52 CEST, pellegrini <pellegrini at ill.fr> wrote:

> Hi all,
> 
> I would like to build a project using intel fortran compiler. When 
> building the project I would like to add/change two linker
> flags:
>         - /stack:128000000
>         - /subsystem:windows (when launched, the executable (GUI) will not 
> launch any additional terminal)

This usually means you want to add the WIN32 flag in your ADD_EXECUTABLE call. See the documentation of it.

Eike


More information about the CMake mailing list