diff options
author | Brad King <brad.king@kitware.com> | 2013-10-11 17:54:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-18 13:55:59 (GMT) |
commit | a85e17e660c47820ccccd8378349497804d94483 (patch) | |
tree | 28d211b2814865d81830b112fffc398ace58919b /Modules/CMakeFortranCompiler.cmake.in | |
parent | af40e8c31256095eb8436b798fa1fbc0c71b0319 (diff) | |
download | CMake-a85e17e660c47820ccccd8378349497804d94483.zip CMake-a85e17e660c47820ccccd8378349497804d94483.tar.gz CMake-a85e17e660c47820ccccd8378349497804d94483.tar.bz2 |
Intel: When simulating MSVC, re-use Windows-MSVC (#14476)
Teach CMake(C|CXX|Fortran)CompilerId* to report the MSVC version
simulated by the Intel compiler, if any. Refactor the Windows-Intel
platform information helper module to load Windows-MSVC instead of
duplicating the information. Teach Windows-MSVC to understand when
it is loaded as the simulated Fortran compiler (its preprocessor is
simulated).
Diffstat (limited to 'Modules/CMakeFortranCompiler.cmake.in')
-rw-r--r-- | Modules/CMakeFortranCompiler.cmake.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeFortranCompiler.cmake.in b/Modules/CMakeFortranCompiler.cmake.in index d193881..e4c7618 100644 --- a/Modules/CMakeFortranCompiler.cmake.in +++ b/Modules/CMakeFortranCompiler.cmake.in @@ -2,6 +2,8 @@ set(CMAKE_Fortran_COMPILER "@CMAKE_Fortran_COMPILER@") set(CMAKE_Fortran_COMPILER_ARG1 "@CMAKE_Fortran_COMPILER_ARG1@") set(CMAKE_Fortran_COMPILER_ID "@CMAKE_Fortran_COMPILER_ID@") set(CMAKE_Fortran_PLATFORM_ID "@CMAKE_Fortran_PLATFORM_ID@") +set(CMAKE_Fortran_SIMULATE_ID "@CMAKE_Fortran_SIMULATE_ID@") +set(CMAKE_Fortran_SIMULATE_VERSION "@CMAKE_Fortran_SIMULATE_VERSION@") @SET_MSVC_Fortran_ARCHITECTURE_ID@ set(CMAKE_AR "@CMAKE_AR@") set(CMAKE_RANLIB "@CMAKE_RANLIB@") |