From 79863bd9e43a73e23f00e0a1ca92f877a8a1a805 Mon Sep 17 00:00:00 2001 From: maier Date: Tue, 16 Jul 2013 09:49:49 +0000 Subject: [PATCH] *sigh* CMake is such a pile of ... git-svn-id: https://svn.dealii.org/trunk@30007 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/CMakeLists.txt | 2 +- deal.II/cmake/configure/configure_1_mpi.cmake | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/deal.II/CMakeLists.txt b/deal.II/CMakeLists.txt index 7f7a4e9543..cc53735cba 100644 --- a/deal.II/CMakeLists.txt +++ b/deal.II/CMakeLists.txt @@ -67,7 +67,7 @@ INCLUDE(setup_cached_variables) # Now, set the project and set up the rest: # PROJECT(deal.II CXX) -ENABLE_LANGUAGE(C OPTIONAL) +ENABLE_LANGUAGE(C) # OPTIONAL) wrt to bug http://public.kitware.com/Bug/view.php?id=9220 INCLUDE(setup_deal_ii) INCLUDE(setup_compiler_flags) diff --git a/deal.II/cmake/configure/configure_1_mpi.cmake b/deal.II/cmake/configure/configure_1_mpi.cmake index fc88e1e1fb..7cf651990b 100644 --- a/deal.II/cmake/configure/configure_1_mpi.cmake +++ b/deal.II/cmake/configure/configure_1_mpi.cmake @@ -20,9 +20,10 @@ MACRO(FEATURE_MPI_FIND_EXTERNAL var) # # Enable C and Fortran support so that MPI_Fortran_LIBRARIES is set up. # - IF(NOT CMAKE_Fortran_COMPILER_WORKS) - ENABLE_LANGUAGE(Fortran OPTIONAL) - ENDIF() + # Disabled wrt to http://public.kitware.com/Bug/view.php?id=9220 + #IF(NOT CMAKE_Fortran_COMPILER_WORKS) + # ENABLE_LANGUAGE(Fortran OPTIONAL) + #ENDIF() # # Obey a manual user override: If MPI_CXX_FOUND is set to true in the -- 2.39.5