From: maier Date: Wed, 13 Mar 2013 10:18:01 +0000 (+0000) Subject: CMake: Bugfix X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84cf0b49b52ea0aca6fd820ebecd1744772e83d2;p=dealii-svn.git CMake: Bugfix git-svn-id: https://svn.dealii.org/trunk@28879 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/configure/configure_1_mpi.cmake b/deal.II/cmake/configure/configure_1_mpi.cmake index dd5bffa915..cb1c2ed91d 100644 --- a/deal.II/cmake/configure/configure_1_mpi.cmake +++ b/deal.II/cmake/configure/configure_1_mpi.cmake @@ -26,8 +26,8 @@ MACRO(FEATURE_MPI_FIND_EXTERNAL var) # If CMAKE_CXX_COMPILER is already an MPI wrapper, use it to determine # the mpi implementation: # - SET(MPI_C_COMPILER ${CMAKE_C_COMPILER}) - SET(MPI_CXX_COMPILER ${CMAKE_CXX_COMPILER}) + SET_IF_EMPTY(MPI_C_COMPILER ${CMAKE_C_COMPILER}) + SET_IF_EMPTY(MPI_CXX_COMPILER ${CMAKE_CXX_COMPILER}) FIND_PACKAGE(MPI) IF(NOT MPI_CXX_FOUND)