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.11/module/CheckFortranFunctionExists.html