Merge topic 'cxx-checks-tolerate-unused-arguments'
[kiteware-cmake.git] / Modules / CMakeAddFortranSubdirectory / config_mingw.cmake.in
blob97f67693afc7e27954275e3d797c9ca1f51ee2e6
1 set(ENV{PATH} "@MINGW_PATH@\;$ENV{PATH}")
2 set(CMAKE_COMMAND_LINE "@ARGS_CMAKE_COMMAND_LINE@")
3 execute_process(
4   COMMAND "@CMAKE_COMMAND@" "-GMinGW Makefiles"
5   -DCMAKE_Fortran_COMPILER:PATH=@MINGW_GFORTRAN@
6   -DBUILD_SHARED_LIBS=ON
7   -DCMAKE_GNUtoMS=ON
8   ${CMAKE_COMMAND_LINE}
9   "@source_dir@")