Investigate CMake WHOLE_ARCHIVE option
Latest changes in the library highlight that something is not properly handled (see this job: there is failure for clang on a Fedora with release mode / static library / several libraries configuration).
I checked and it seems like recent CMake provide a WHOLE_LIBRARY option which could replace by manual handling on it in MoReFEM.
If so it would be better to use it (and hope it solves the job issue mentioned above for which I am currently clueless...)