diff options
author | Brad King <brad.king@kitware.com> | 2013-10-07 19:41:19 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-10-07 19:41:19 (GMT) |
commit | 610234a5e8285a1cfac453cc7a5432b7c0a81e9d (patch) | |
tree | d6acf15f7d2b5903b2afd1d4d381935e394d054d /Modules | |
parent | 0f32faafdb3094d0ad03ff51eddf3ca02f5cfa3f (diff) | |
parent | d7a65a2f2cdaf36e42fe9c0d2a9ff55fecb79dc4 (diff) | |
download | CMake-610234a5e8285a1cfac453cc7a5432b7c0a81e9d.zip CMake-610234a5e8285a1cfac453cc7a5432b7c0a81e9d.tar.gz CMake-610234a5e8285a1cfac453cc7a5432b7c0a81e9d.tar.bz2 |
Merge topic 'FortranCInterface-cross-compile'
d7a65a2 FortranCInterface: Fix cross-compiling Linux to MinGW (#14358)
Diffstat (limited to 'Modules')
-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 798c44c..afeb9c5 100644 --- a/Modules/FortranCInterface/Detect.cmake +++ b/Modules/FortranCInterface/Detect.cmake @@ -49,7 +49,7 @@ unset(FortranCInterface_COMPILED CACHE) # Locate the sample project executable. if(FortranCInterface_COMPILED) find_program(FortranCInterface_EXE - NAMES FortranCInterface + NAMES FortranCInterface${CMAKE_EXECUTABLE_SUFFIX} PATHS ${FortranCInterface_BINARY_DIR} ${FortranCInterface_BINARY_DIR}/Debug NO_DEFAULT_PATH ) |