From: degomme Date: Fri, 26 Jun 2015 07:32:40 +0000 (+0200) Subject: (attempt to) Disable fortran for mac platforms, for now. X-Git-Tag: v3_12~552 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/56858edd6d8ee2e8e7084f9b89b2b94a3a9eb6b9?hp=886849e7082bf4b09880f7eb00fc30676986ea22 (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) --- 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