mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-12-06 13:20:57 +03:00
The GSSAPI find module sets GSSAPI_INCLUDE_DIR (singular) only and passes that to find_package_handle_standard_arguments, but later tests and marks as advanced GSSAPI_INCLUDE_DIRS (plural), which doesn't exist. GSSAPI_INCLUDE_DIR is what's used in src/CMakeLists.txt This hasn't had a major effect, because GSSAPI_FOUND gets set by find_package_handle_standard_args, so the if statement that tests GSSAPI_INCLUDE_DIRS (and never succeeded) would have been a no-op in any case, so remove it. Standardize on the singular version when marking as advanced. Signed-off-by: John Thacker <johnthacker@gmail.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>