From 56858edd6d8ee2e8e7084f9b89b2b94a3a9eb6b9 Mon Sep 17 00:00:00 2001 From: degomme Date: Fri, 26 Jun 2015 09:32:40 +0200 Subject: [PATCH] (attempt to) Disable fortran for mac platforms, for now. If we ever find a user for SMPI+Fortran on apple, we will need to investigate what to do to correctly plug the user_main function (correct underscore handling is a likely guess) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d783249ebe..e7311c77d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ if (APPLE) #MAC set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) endif() -if (NOT DEFINED enable_smpi OR enable_smpi) # smpi is enabled by default +if ((NOT DEFINED enable_smpi OR enable_smpi) AND NOT APPLE) # smpi is enabled by default # Call enable_language(Fortran) in order to load the build rules for # this language, needed by teshsuite/smpi/mpich-test/. Use # CMAKE_FORCE_Fortran_COMPILER to bypass checks for a working -- 2.20.1