[CMake] Fix building without python on Windows
authorAlex Langford <apl@fb.com>
Tue, 8 Oct 2019 18:38:46 +0000 (18:38 +0000)
committerAlex Langford <apl@fb.com>
Tue, 8 Oct 2019 18:38:46 +0000 (18:38 +0000)
commit28fcc033c883f95416e920ff05f629df2c560a23
tree4864a796dedfa7a218e0812fbe5a460bb0bbcd35
parent05e46979d2f4ba709400e43716b5c37d3d46d329
[CMake] Fix building without python on Windows

Summary: find_python_libs_windows might set LLDB_DISABLE_PYTHON to ON.
Unfortunately we do not re-check this variable before using variables filled in
by find_python_libs_windows, leading to a failed configuration.

llvm-svn: 374100
lldb/cmake/modules/LLDBConfig.cmake