Merge topic 'FortranCInterface-cross-compile'
d7a65a2
FortranCInterface: Fix cross-compiling Linux to MinGW (#14358)
This commit is contained in:
commit
610234a5e8
|
@ -49,7 +49,7 @@ unset(FortranCInterface_COMPILED CACHE)
|
||||||
# Locate the sample project executable.
|
# Locate the sample project executable.
|
||||||
if(FortranCInterface_COMPILED)
|
if(FortranCInterface_COMPILED)
|
||||||
find_program(FortranCInterface_EXE
|
find_program(FortranCInterface_EXE
|
||||||
NAMES FortranCInterface
|
NAMES FortranCInterface${CMAKE_EXECUTABLE_SUFFIX}
|
||||||
PATHS ${FortranCInterface_BINARY_DIR} ${FortranCInterface_BINARY_DIR}/Debug
|
PATHS ${FortranCInterface_BINARY_DIR} ${FortranCInterface_BINARY_DIR}/Debug
|
||||||
NO_DEFAULT_PATH
|
NO_DEFAULT_PATH
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue