diff options
author | Brad King <brad.king@kitware.com> | 2017-11-08 14:05:01 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-11-08 14:05:13 (GMT) |
commit | f8f3338582c863642fef9a31a8d8345cdd78d263 (patch) | |
tree | 62034f9f52e510bd259b7af976c8e42dbdd5e806 /Modules/Compiler | |
parent | 3b853ffd1605cab8a72a66a6312840644227e1e9 (diff) | |
parent | 3c3682289dfe62fa2448e1be7ab714e674b475d8 (diff) | |
download | CMake-f8f3338582c863642fef9a31a8d8345cdd78d263.zip CMake-f8f3338582c863642fef9a31a8d8345cdd78d263.tar.gz CMake-f8f3338582c863642fef9a31a8d8345cdd78d263.tar.bz2 |
Merge topic 'flang-windows'
3c368228 Flang: Add support for compiling sources on Windows
72d27964 Flang: Identify as simulating MSVC on Windows
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1430
Diffstat (limited to 'Modules/Compiler')
-rw-r--r-- | Modules/Compiler/Clang.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/Compiler/Clang.cmake b/Modules/Compiler/Clang.cmake index 9f5e921..7ce1adb 100644 --- a/Modules/Compiler/Clang.cmake +++ b/Modules/Compiler/Clang.cmake @@ -11,7 +11,8 @@ set(__COMPILER_CLANG 1) include(Compiler/CMakeCommonCompilerMacros) if("x${CMAKE_C_SIMULATE_ID}" STREQUAL "xMSVC" - OR "x${CMAKE_CXX_SIMULATE_ID}" STREQUAL "xMSVC") + OR "x${CMAKE_CXX_SIMULATE_ID}" STREQUAL "xMSVC" + OR "x${CMAKE_Fortran_SIMULATE_ID}" STREQUAL "xMSVC") macro(__compiler_clang lang) endmacro() else() |