10 lines
296 B
CMake
10 lines
296 B
CMake
set(ENV{PATH} "@MINGW_PATH@\;$ENV{PATH}")
|
|
set(CMAKE_COMMAND_LINE "@ARGS_CMAKE_COMMAND_LINE@")
|
|
execute_process(
|
|
COMMAND "@CMAKE_COMMAND@" "-GMinGW Makefiles"
|
|
-DCMAKE_Fortran_COMPILER:PATH=@MINGW_GFORTRAN@
|
|
-DBUILD_SHARED_LIBS=ON
|
|
-DCMAKE_GNUtoMS=ON
|
|
${CMAKE_COMMAND_LINE}
|
|
"@source_dir@")
|