[CMake] MinGW flags

Petr Bena benapetr at gmail.com
Mon Dec 15 11:16:20 EST 2014


Hi,

Is it possible to set a compiler flags only if compiler is MinGW (that
means these flags wouldn't be set on MSVC).

if (WIN32) matches both compilers obviously. Thanks


More information about the CMake mailing list