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)
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
endif()
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
# 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