Author: labath Date: Fri Mar 15 07:03:52 2019 New Revision: 356263 URL: http://llvm.org/viewvc/llvm-project?rev=356263&view=rev Log: 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. Modified: lldb/trunk/cmake/modules/FindLibEdit.cmake Modified: lldb/trunk/cmake/modules/FindLibEdit.cmake URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/cmake/modules/FindLibEdit.cmake?rev=356263&r1=356262&r2=356263&view=diff ============================================================================== --- lldb/trunk/cmake/modules/FindLibEdit.cmake (original) +++ lldb/trunk/cmake/modules/FindLibEdit.cmake Fri Mar 15 07:03:52 2019 @@ -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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits