diff options
author | Brad King <brad.king@kitware.com> | 2019-08-19 18:53:10 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-08-19 18:53:20 (GMT) |
commit | 29488892e5c1cb2406d14389589e03c2d03006cf (patch) | |
tree | 59da30c4c44b35fc44c6062cc4480f6ce5575965 /Modules/Platform | |
parent | c41c79285b5ebb7dd914a6e714aa553bb5078641 (diff) | |
parent | ea0294c281b27b4aff968d94dda98989b0f16e39 (diff) | |
download | CMake-29488892e5c1cb2406d14389589e03c2d03006cf.zip CMake-29488892e5c1cb2406d14389589e03c2d03006cf.tar.gz CMake-29488892e5c1cb2406d14389589e03c2d03006cf.tar.bz2 |
Merge topic 'msvc-runtime-library-flang'
ea0294c281 Flang: Implement MSVC runtime library abstraction
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3674
Diffstat (limited to 'Modules/Platform')
-rw-r--r-- | Modules/Platform/Windows-Flang-Fortran.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-Flang-Fortran.cmake b/Modules/Platform/Windows-Flang-Fortran.cmake index a4b1cf1..c4420f7 100644 --- a/Modules/Platform/Windows-Flang-Fortran.cmake +++ b/Modules/Platform/Windows-Flang-Fortran.cmake @@ -1,3 +1,8 @@ include(Platform/Windows-MSVC) __windows_compiler_msvc(Fortran) set(CMAKE_Fortran_COMPILE_OBJECT "<CMAKE_Fortran_COMPILER> ${_COMPILE_Fortran} <DEFINES> <INCLUDES> <FLAGS> -o <OBJECT> -c <SOURCE>") + +set(CMAKE_Fortran_COMPILE_OPTIONS_MSVC_RUNTIME_LIBRARY_MultiThreaded -Xclang --dependent-lib=libcmt) +set(CMAKE_Fortran_COMPILE_OPTIONS_MSVC_RUNTIME_LIBRARY_MultiThreadedDLL -Xclang --dependent-lib=msvcrt) +set(CMAKE_Fortran_COMPILE_OPTIONS_MSVC_RUNTIME_LIBRARY_MultiThreadedDebug -Xclang --dependent-lib=libcmtd) +set(CMAKE_Fortran_COMPILE_OPTIONS_MSVC_RUNTIME_LIBRARY_MultiThreadedDebugDLL -Xclang --dependent-lib=msvcrtd) |