[lldb/CMake] Fix variable naming in FindLibEdit
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 2 Jan 2020 21:31:32 +0000 (13:31 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 2 Jan 2020 21:39:57 +0000 (13:39 -0800)
commitf38234ed8b579230a3742317ffd5fb95514d9638
tree06f7e857c60e34af36618f56147bcae3dc414bfe
parent982695c0693fe576fb9daa34ecbf81808efdaa2f
[lldb/CMake] Fix variable naming in FindLibEdit

The current FOUND_VAR for FindLibEdit is libedit_FOUND but wasn't set by
find_package_handle_standard_args. However this isn't valid for the
package name.

  The argument for FOUND_VAR is "libedit_FOUND", but only "LibEdit_FOUND" and
  "LIBEDIT_FOUND" are valid names.

This fixes all the variables set by FindLibEdit to match the desired
naming scheme.
lldb/cmake/modules/FindLibEdit.cmake
lldb/cmake/modules/LLDBConfig.cmake
lldb/source/Core/CMakeLists.txt
lldb/source/Host/CMakeLists.txt
lldb/source/Interpreter/CMakeLists.txt
lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt