Fix windows-x86-debug compilation with python enabled using multi-target generator
authorAdrian McCarthy <amccarth@google.com>
Thu, 5 Sep 2019 17:22:30 +0000 (17:22 +0000)
committerAdrian McCarthy <amccarth@google.com>
Thu, 5 Sep 2019 17:22:30 +0000 (17:22 +0000)
commitf141de5bc9284f47308564ec9c5544c33ed0a0d7
tree6bcdfbf3dee2e4d4477314dd00319ed01d36adca
parent58f172f05ae0d6d4fa6a222d04fa59fc98807489
Fix windows-x86-debug compilation with python enabled using multi-target generator

[Patch by Leonid Mashinskiy]

Visual Studio CMake generator is multi-target and does not define
CMAKE_BUILD_TYPE, so Debug build on VS was failing due selection of release
python library. This patch reverts back some of latest changes and fixes
building by raw VS using CMake expression generators.

Differential Revision: https://reviews.llvm.org/D66994

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