summaryrefslogtreecommitdiff
path: root/Modules/FortranCInterface/Detect.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FortranCInterface/Detect.cmake')
-rw-r--r--Modules/FortranCInterface/Detect.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/FortranCInterface/Detect.cmake b/Modules/FortranCInterface/Detect.cmake
index b848d33925..abc012eba4 100644
--- a/Modules/FortranCInterface/Detect.cmake
+++ b/Modules/FortranCInterface/Detect.cmake
@@ -17,6 +17,10 @@ else()
return()
endif()
+# Invalidate verification results.
+unset(FortranCInterface_VERIFIED_C CACHE)
+unset(FortranCInterface_VERIFIED_CXX CACHE)
+
set(_result)
# Build a sample project which reports symbols.