CMake: Warning in Spglib detection
During the CMake configure:
Make Warning at /opt_mpsd/linux-debian11/24a/sandybridge/spack/opt/spack/linux-debian11-sandybridge/gcc-11.3.0/spglib-2.1.0-c6dy4fh4v5bovzaxmeqng5wd27v5xkfq/lib/cmake/Spglib/PackageCompsHelper.cmake:302 (message):
Unsupported component passed to find_package(Spglib): Fortran
Spglib only has a component fortran (lowercase).
The following should fix it:
Octopus_FetchContent_Declare(Spglib
GIT_REPOSITORY https://github.com/spglib/spglib
GIT_TAG v2.1.0
- FIND_PACKAGE_ARGS MODULE COMPONENTS Fortran
+ FIND_PACKAGE_ARGS MODULE COMPONENTS fortran
)