summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-05-02 12:47:40 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-05-02 12:47:47 (GMT)
commitc4cc3462036ea9e7217f926a23c7574bb0221702 (patch)
tree600b930974a8f5fa9f068586af9b4fab183d5a1d /Modules
parent339f2205755c065d0e826228cf432207eececee2 (diff)
parent967feaa435b4452ea40e56d500bffa2358251a3d (diff)
downloadCMake-c4cc3462036ea9e7217f926a23c7574bb0221702.zip
CMake-c4cc3462036ea9e7217f926a23c7574bb0221702.tar.gz
CMake-c4cc3462036ea9e7217f926a23c7574bb0221702.tar.bz2
Merge topic 'FortranCInterface-verify-reuse'
967feaa435 FortranCInterface: Reuse primary detection results in VERIFY function Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8448
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FortranCInterface.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FortranCInterface.cmake b/Modules/FortranCInterface.cmake
index ed8830e..2c85029 100644
--- a/Modules/FortranCInterface.cmake
+++ b/Modules/FortranCInterface.cmake
@@ -373,6 +373,7 @@ function(FortranCInterface_VERIFY)
"-DCMAKE_C_FLAGS_RELEASE:STRING=${CMAKE_C_FLAGS_RELEASE}"
"-DCMAKE_CXX_FLAGS_RELEASE:STRING=${CMAKE_CXX_FLAGS_RELEASE}"
"-DCMAKE_Fortran_FLAGS_RELEASE:STRING=${CMAKE_Fortran_FLAGS_RELEASE}"
+ "-DFortranCInterface_BINARY_DIR=${FortranCInterface_BINARY_DIR}"
${_FortranCInterface_OSX_ARCH}
${_FortranCInterface_EXE_LINKER_FLAGS}
OUTPUT_VARIABLE _output)