Commit cdeaa09e authored by Adrian McCarthy's avatar Adrian McCarthy Committed by Nick Desaulniers
Browse files

[UPSTREAM] 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
(cherry picked from commit f141de5b)

Change-Id: I848cd1bab34d971f5efc63bdb8b9c24b1c6cd652
parent ec4dd35a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment