You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If ESMFMKFILE environment variable is set but points to a non-existent file, FindESMF silently returns even if in the application it is marked as required package.
This fatal error message:
if (NOT DEFINED ESMFMKFILE)
message(FATAL_ERROR "ESMFMKFILE not defined. This is the path to esmf.mk file. \
Without this filepath, ESMF_FOUND will always be FALSE.")
endif ()
should depend on whether or not file that ESMFMKFILE points to exists, not whether variable ESMFMKFILE is defined.
The text was updated successfully, but these errors were encountered:
At the end of FindESMF.cmake we should add something like:
# Check package has been found correctly
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(
ESMF
REQUIRED_VARS
esmf_lib
VERSION_VAR ESMF_VERSION_STRING
)
The CMakeModules you are looking at is out of date. find_package_handle_standard_args is there, though the original bug still exists, but it would fail because the vars aren't set.
If
ESMFMKFILE
environment variable is set but points to a non-existent file, FindESMF silently returns even if in the application it is marked as required package.This fatal error message:
should depend on whether or not file that
ESMFMKFILE
points to exists, not whether variableESMFMKFILE
is defined.The text was updated successfully, but these errors were encountered: