less hardcoding
This commit is contained in:
		| @@ -1,10 +1,6 @@ | |||||||
| if(MPI_FOUND) | if(MPI_FOUND) | ||||||
|     add_executable(example example.F90) |     add_executable(example example.F90) | ||||||
|     if(CMAKE_SYSTEM_NAME MATCHES "Windows") |     target_link_libraries(example ${MPI_LIBRARIES}) | ||||||
|         # respect paths in appveyor.yml |  | ||||||
|         target_link_libraries(example "C:/software/msmpi/libmsmpi64.a") |  | ||||||
|     endif() |  | ||||||
| else() | else() | ||||||
|     message(FATAL_ERROR "MPI not found!") |     message(FATAL_ERROR "MPI not found") | ||||||
| endif() | endif() | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user