Since TUV-X is included in MUSICA, MUSICA-C needs to link to OpenMP Fortran library because when OpenMP is enabled, the fortran tests are created.
Enabling Fortran language in the top level cmake isn't successful with the error being a fortran compiler not found. We also need to consider python users shouldn't need a fortran compiler to use musica. project(musica-distribution VERSION 0.7.0 LANGUAGES C CXX Fortran).
Since
TUV-X
is included inMUSICA
,MUSICA-C
needs to link toOpenMP
Fortran library because whenOpenMP
is enabled, the fortran tests are created.Enabling Fortran language in the top level cmake isn't successful with the error being a fortran compiler not found. We also need to consider python users shouldn't need a fortran compiler to use musica.
project(musica-distribution VERSION 0.7.0 LANGUAGES C CXX Fortran)
.