adapt fc_mpi test for MS Windows by utilizing ms-mpi package

- 2 msmpi files are modified according to the tutorial
This commit is contained in:
Miro ILIAS
2015-08-24 21:56:43 +02:00
parent ea650eace1
commit 102e891278
4 changed files with 33 additions and 9 deletions

View File

@ -1,5 +1,9 @@
if (MPI_FOUND)
add_executable(example example.F90)
if (CMAKE_SYSTEM_NAME MATCHES "Windows")
# respect paths in appveyor.yml
target_link_libraries(example "C:/software/msmpi/libmsmpi64.a")
endif()
else()
message(FATAL "MPI not found!")
endif()