FEST3D / FEST-3D

The source code for Finite volume Explicit STructured 3Dimensional (FEST-3D) solver.
https://fest3d.github.io/index.html
GNU General Public License v3.0
34 stars 16 forks source link

CMake script compatibility with Mac OSX #3

Closed jayten closed 5 years ago

jayten commented 5 years ago

The CMake script behaves erratically when used on Mac OSX. It is either not able to find the correct configuration or does not exit the process (execute_process in CMake). The test was performed on OS version 10.13.4 (High Sierra) with following installed using Homebrew

jayten commented 5 years ago

The following piece of code in the SetFortranFlags.cmake module is creating problem:

# Don't add underscores in symbols for C-compatability
SET_COMPILE_FLAG(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS}"
                 Fortran "-fno-underscoring")
jayten commented 5 years ago

The issue has been sorted and corrected in the #4.