mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-04 04:03:22 +03:00
CMakeAddFortranSubdirectory: Search for MinGW-W64 gfortran in a common path
Binaries provided by https://github.com/niXman/mingw-builds-binaries are installed by GitHub Actions to `c:/mingw64`. Fixes: #28106
This commit is contained in:
1 parent
52039e20d1
commit
d811fc9193
1 file changed
+1
@@ -143,6 +143,7 @@ function(_setup_mingw_config_and_build source_dir build_dir)
|
||||
find_program(MINGW_GFORTRAN
|
||||
NAMES gfortran
|
||||
PATHS
|
||||
c:/mingw64/bin
|
||||
c:/MinGW/bin
|
||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\MinGW;InstallLocation]/bin"
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user