summaryrefslogtreecommitdiffstats
path: root/CompileFlags.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-02-27 16:04:20 (GMT)
committerBrad King <brad.king@kitware.com>2020-02-27 16:09:25 (GMT)
commit8e2683cf6db078b33cf0d5162c1a72b6f553b0be (patch)
tree40df907de22da14deea45eb00768f1627e2906ce /CompileFlags.cmake
parentc58b9c5ab94d674c76a17e6154f05e0e8c5c37d1 (diff)
downloadCMake-8e2683cf6db078b33cf0d5162c1a72b6f553b0be.zip
CMake-8e2683cf6db078b33cf0d5162c1a72b6f553b0be.tar.gz
CMake-8e2683cf6db078b33cf0d5162c1a72b6f553b0be.tar.bz2
FortranCInterface: Fix broken search for test exe when cross-compiling
Previously the `find_program` call we used to locate the test executable but that can be broken by `CMAKE_FIND_ROOT_PATH_MODE_PROGRAM`. Instead teach the test project to write a file with the location of the executable it builds. Load that file to get the exact location. Fixes: #20390
Diffstat (limited to 'CompileFlags.cmake')
0 files changed, 0 insertions, 0 deletions