Flang: Add support for compiling sources on Windows

Define `CMAKE_Fortran_COMPILE_OBJECT` for Flang on Windows.
This commit is contained in:
Isuru Fernando
2017-10-30 19:51:45 -05:00
committed by Brad King
parent 72d27964b9
commit 3c3682289d
@@ -1,2 +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>")