CheckFortranFunctionExists
макрос, проверяющий наличие функции Fortran
CHECK_FORTRAN_FUNCTION_EXISTS(ПЕРЕМЕННАЯ ФУНКЦИИ)
FUNCTION - the name of the Fortran function
VARIABLE - variable to store the result
Will be created as an internal cache variable.
Следующие переменные можно задать перед вызовом этого макроса, чтобы изменить способ проверки:
CMAKE_REQUIRED_LIBRARIES = list of libraries to link
© 2000–2019 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.13/module/CheckFortranFunctionExists.html