summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-01-28 14:47:37 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-01-28 14:47:43 (GMT)
commite6018e07f920b21b266e96e1bce5ebb2e5f92b92 (patch)
tree62e39d6fbf42b3d865eada06a2cfab97b8b315e0 /Modules
parent09c5fb83ddc7f7349e9f752fb461483f94cf8554 (diff)
parent1db1132c67c87c9283d7311c45ccfc3eaa70fd38 (diff)
downloadCMake-e6018e07f920b21b266e96e1bce5ebb2e5f92b92.zip
CMake-e6018e07f920b21b266e96e1bce5ebb2e5f92b92.tar.gz
CMake-e6018e07f920b21b266e96e1bce5ebb2e5f92b92.tar.bz2
Merge topic 'fortrancinterface-IS_NEWER_THAN'
1db1132c67 FortranCInterface: Fix wrong path when deciding if redetection is needed Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9194
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FortranCInterface/Detect.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FortranCInterface/Detect.cmake b/Modules/FortranCInterface/Detect.cmake
index 010661e..338a586 100644
--- a/Modules/FortranCInterface/Detect.cmake
+++ b/Modules/FortranCInterface/Detect.cmake
@@ -10,7 +10,7 @@ if(NOT EXISTS ${FortranCInterface_BINARY_DIR}/Output.cmake
OR NOT EXISTS ${FortranCInterface_BINARY_DIR}/Input.cmake
OR NOT ${FortranCInterface_BINARY_DIR}/Output.cmake
IS_NEWER_THAN ${FortranCInterface_BINARY_DIR}/Input.cmake
- OR NOT ${FortranCInterface_SOURCE_DIR}/Output.cmake
+ OR NOT ${FortranCInterface_BINARY_DIR}/Output.cmake
IS_NEWER_THAN ${FortranCInterface_SOURCE_DIR}/Output.cmake.in
OR NOT ${FortranCInterface_BINARY_DIR}/Output.cmake
IS_NEWER_THAN ${FortranCInterface_SOURCE_DIR}/CMakeLists.txt