## Describe the bug The cmake build (the only option now it seems) fails with ifort 21.1 for having multiple definitions of main in fortran_test.c. This compiler message seems important: ifort: command line warning #10434: option '-nofor_main' use with underscore is deprecated; use '-nofor-main' instead ## To Reproduce mkdir b cd b CC=icc CXX=icpc FC=ifort cmake .. -Dspglib_WITH_Fortran=ON make ## Expected behavior Uneventful completion ## Environment - Spglib's version: commit 1b1729ce79ccadf99d42f0bef4e9b726b4191196 (the latest on devel at time of writing) - Intel compilers version 2021.1 ## Additional context I suspect the appropriate version of '-nofor_main' or actual f main need to be used.