summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineFortranCompiler.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-12-21 18:58:39 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2010-12-21 18:58:39 (GMT)
commit6f2482aa972c43b388277278c7920283ce125d4a (patch)
tree7357adb580fa2c680785ecba387edc6ac5e29909 /Modules/CMakeDetermineFortranCompiler.cmake
parent92631c14d9dca43747636518d0e6aced20c72ef8 (diff)
parentcd43636c95320ce39480c7c4c6cf909b86f2fc54 (diff)
downloadCMake-6f2482aa972c43b388277278c7920283ce125d4a.zip
CMake-6f2482aa972c43b388277278c7920283ce125d4a.tar.gz
CMake-6f2482aa972c43b388277278c7920283ce125d4a.tar.bz2
Merge topic 'intel-compiler-windows-info'
cd43636 Modernize Intel compiler info on Windows 58c73c4 Detect Fortran target architecture on Windows
Diffstat (limited to 'Modules/CMakeDetermineFortranCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineFortranCompiler.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineFortranCompiler.cmake b/Modules/CMakeDetermineFortranCompiler.cmake
index 3801d7d..5355886 100644
--- a/Modules/CMakeDetermineFortranCompiler.cmake
+++ b/Modules/CMakeDetermineFortranCompiler.cmake
@@ -218,6 +218,10 @@ ENDIF(NOT CMAKE_Fortran_COMPILER_ID_RUN)
INCLUDE(CMakeFindBinUtils)
+IF(MSVC_Fortran_ARCHITECTURE_ID)
+ SET(SET_MSVC_Fortran_ARCHITECTURE_ID
+ "SET(MSVC_Fortran_ARCHITECTURE_ID ${MSVC_Fortran_ARCHITECTURE_ID})")
+ENDIF()
# configure variables set in this file for fast reload later on
CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CMakeFortranCompiler.cmake.in
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeFortranCompiler.cmake