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:
parent
a933d6c7c0
commit
1de5a2ef96
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue