Fix setting Python3_ROOT_DIR on Windows
authorIsuru Fernando <isuruf@gmail.com>
Fri, 10 Apr 2020 00:44:56 +0000 (19:44 -0500)
committerIsuru Fernando <isuruf@gmail.com>
Tue, 14 Apr 2020 17:50:54 +0000 (12:50 -0500)
commit664fda72eaa3d950ce28f893f5d3ded0c7e7b716
tree41db6722d790ddbec112f582049feba3e3fa119c
parent539163affea7dc006c341ec82d80aece26a3c643
Fix setting Python3_ROOT_DIR on Windows

Summary:
Previously the value of Python3_ROOT_DIR was set to the string
"PYTHON_HOME" instead of the value of the variable named
PYTHON_HOME. This commit fixes that as CMake expects
a path as the value of Python3_ROOT_DIR

Reviewers: #lldb, JDevlieghere, teemperor

Reviewed By: #lldb, JDevlieghere, teemperor

Subscribers: teemperor, JDevlieghere, mgorny, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D77842
lldb/cmake/modules/FindPythonInterpAndLibs.cmake