diff options
author | Ruslan Baratov <ruslan_baratov@yahoo.com> | 2017-03-08 03:25:47 (GMT) |
---|---|---|
committer | Ruslan Baratov <ruslan_baratov@yahoo.com> | 2017-03-08 20:28:01 (GMT) |
commit | b9d36826c5676bf3d0bb55fb47c6ce62f4f3470d (patch) | |
tree | 1f4f75b27fcc1d51852a7909e34ddbe22b95c955 /Modules/CMakeDetermineFortranCompiler.cmake | |
parent | 52d39264b49c18f6f1e98a2348e69cd679e389bc (diff) | |
download | CMake-b9d36826c5676bf3d0bb55fb47c6ce62f4f3470d.zip CMake-b9d36826c5676bf3d0bb55fb47c6ce62f4f3470d.tar.gz CMake-b9d36826c5676bf3d0bb55fb47c6ce62f4f3470d.tar.bz2 |
Add 'CMAKE_GCC_AR' and 'CMAKE_GCC_RANLIB' variables
Diffstat (limited to 'Modules/CMakeDetermineFortranCompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineFortranCompiler.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineFortranCompiler.cmake b/Modules/CMakeDetermineFortranCompiler.cmake index 484fa66..9e9770a 100644 --- a/Modules/CMakeDetermineFortranCompiler.cmake +++ b/Modules/CMakeDetermineFortranCompiler.cmake @@ -255,6 +255,9 @@ if (CMAKE_CROSSCOMPILING AND NOT _CMAKE_TOOLCHAIN_PREFIX) endif () include(CMakeFindBinUtils) +set(_CMAKE_PROCESSING_LANGUAGE "Fortran") +include(Compiler/${CMAKE_Fortran_COMPILER_ID}-FindBinUtils OPTIONAL) +unset(_CMAKE_PROCESSING_LANGUAGE) if(MSVC_Fortran_ARCHITECTURE_ID) set(SET_MSVC_Fortran_ARCHITECTURE_ID |