diff options
author | Craig Scott <craig.scott@crascit.com> | 2024-01-27 01:27:49 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2024-01-27 01:27:49 (GMT) |
commit | 1db1132c67c87c9283d7311c45ccfc3eaa70fd38 (patch) | |
tree | 33220f4461fd5a349d0e6cfd157949e0a1c44439 /Modules/FortranCInterface | |
parent | b7c11ded92997ac232989e208642f9646e3f5b59 (diff) | |
download | CMake-1db1132c67c87c9283d7311c45ccfc3eaa70fd38.zip CMake-1db1132c67c87c9283d7311c45ccfc3eaa70fd38.tar.gz CMake-1db1132c67c87c9283d7311c45ccfc3eaa70fd38.tar.bz2 |
FortranCInterface: Fix wrong path when deciding if redetection is needed
d7c8030541 (FortranCInterface: Fix misuse of IS_NEWER_THAN in
timestamp check, 2021-02-21) updated the IS_NEWER_THAN logic, but it
introduced a couple of errors. 2a00e5072d (FortranCInterface: Fix
regression in timestamp check, 2021-09-30) addressed one of those errors,
but there was still one left behind that wasn't noticed. The Output.cmake
file is in the build directory, but there was still one reference to it that
incorrectly used a path to it in the source directory.
Issue: #22709
Diffstat (limited to 'Modules/FortranCInterface')
-rw-r--r-- | Modules/FortranCInterface/Detect.cmake | 2 |
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 |