summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-10-11 19:35:43 (GMT)
committerBrad King <brad.king@kitware.com>2022-10-11 19:38:48 (GMT)
commit0301779e8532626c106f38e4f8e227c89ba1b158 (patch)
tree3b4cd5af8acb117c7db937f28dee6d1db829cf61 /Modules/Compiler
parent5d24e9e09b21b05c7bad67303adbbac0137b51c3 (diff)
downloadCMake-0301779e8532626c106f38e4f8e227c89ba1b158.zip
CMake-0301779e8532626c106f38e4f8e227c89ba1b158.tar.gz
CMake-0301779e8532626c106f38e4f8e227c89ba1b158.tar.bz2
LLVMFlang: Add support for mixed-language linking with Fortran
Parse implicit link information for this compiler to support mixed-language linking. This was missed by commit 85749766df (LLVMFlang: Add support for LLVM Flang, 2021-07-07, v3.24.0-rc1~86^2). Also activate mixed-language test cases that would have caught this. Issue: #22387
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/LLVMFlang-Fortran.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Compiler/LLVMFlang-Fortran.cmake b/Modules/Compiler/LLVMFlang-Fortran.cmake
index 7e9ba5e..651bf51 100644
--- a/Modules/Compiler/LLVMFlang-Fortran.cmake
+++ b/Modules/Compiler/LLVMFlang-Fortran.cmake
@@ -1,3 +1,5 @@
+set(CMAKE_Fortran_VERBOSE_FLAG "-v")
+
set(CMAKE_Fortran_SUBMODULE_SEP "-")
set(CMAKE_Fortran_SUBMODULE_EXT ".mod")