summaryrefslogtreecommitdiff
path: root/Modules/Platform/Windows-Flang-Fortran.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/Windows-Flang-Fortran.cmake')
-rw-r--r--Modules/Platform/Windows-Flang-Fortran.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-Flang-Fortran.cmake b/Modules/Platform/Windows-Flang-Fortran.cmake
new file mode 100644
index 000000000..a4b1cf14e
--- /dev/null
+++ b/Modules/Platform/Windows-Flang-Fortran.cmake
@@ -0,0 +1,3 @@
+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>")