]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix CHECK_MPI_INTERFACE for CMake 3.10 5778/head
authorDenis Davydov <davydden@gmail.com>
Tue, 23 Jan 2018 07:33:19 +0000 (08:33 +0100)
committerDenis Davydov <davydden@gmail.com>
Tue, 23 Jan 2018 07:33:19 +0000 (08:33 +0100)
cmake/macros/macro_check_mpi_interface.cmake

index 479cc55bd8e481c9f78cb1374d5098388781fa24..4a3aa0bc5e2c09bdef32a3536da71857a7ebd8ab 100644 (file)
@@ -22,7 +22,7 @@
 #
 
 MACRO(CHECK_MPI_INTERFACE _feature _var)
-  IF(DEAL_II_WITH_MPI)
+  IF(DEAL_II_WITH_MPI AND MPI_LIBRARIES)
 
     SET(_nope FALSE)
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.