summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompilerLauncher/Fortran.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CompilerLauncher/Fortran.cmake')
-rw-r--r--Tests/RunCMake/CompilerLauncher/Fortran.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/CompilerLauncher/Fortran.cmake b/Tests/RunCMake/CompilerLauncher/Fortran.cmake
new file mode 100644
index 0000000..72cc03e
--- /dev/null
+++ b/Tests/RunCMake/CompilerLauncher/Fortran.cmake
@@ -0,0 +1,4 @@
+enable_language(Fortran)
+set(CMAKE_Fortran_COMPILER_LAUNCHER "${CMAKE_COMMAND};-E;env;USED_LAUNCHER=1")
+set(CMAKE_VERBOSE_MAKEFILE TRUE)
+add_executable(main main.F)