Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Only test fortran for LTO if compiler is present.
authorAugustin Degomme <adegomme@gmail.com>
Fri, 28 Feb 2020 14:24:39 +0000 (15:24 +0100)
committerAugustin Degomme <adegomme@gmail.com>
Fri, 28 Feb 2020 14:24:39 +0000 (15:24 +0100)
commit3f9cccb2d6ad2f63bfde3faa64aa641d0dbd6432
tree0f45859d5ab7e9fe23231adae75ae9f65d52c3f4
parentc5bc07d8e7416f9abba9d0b690cea0d4954ac054
Only test fortran for LTO if compiler is present.
We activate the language in Cmake to test if the compiler is there whenever enable_fortran is given.
But this means that LTO will be tested for fortran as well if we don't say otherwise, even if the compiler was not found (which we allow).
tools/cmake/Flags.cmake