Fix a typo in FindLibEdit.cmake

The package name is LibEdit, so we should use that name in the call to
find_package_handle_standard_args. Failing to do so results in the
standard_args (such as the one telling us whether REQUIRED was used in
the find_package invocation) not being handled.

llvm-svn: 356263
This commit is contained in:
Pavel Labath 2019-03-15 14:03:52 +00:00
parent a933d6c7c0
commit 1de5a2ef96
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ else()
endif()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(libedit
find_package_handle_standard_args(LibEdit
REQUIRED_VARS
libedit_INCLUDE_DIRS
libedit_LIBRARIES