Merge topic 'FortranCInterface-cross-compile'

d7a65a2 FortranCInterface: Fix cross-compiling Linux to MinGW (#14358)
This commit is contained in:
Brad King 2013-10-07 15:41:19 -04:00 committed by CMake Topic Stage
commit 610234a5e8
1 changed files with 1 additions and 1 deletions

View File

@ -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
)