aboutsummaryrefslogtreecommitdiff
path: root/llvm/projects
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-05-11 01:44:30 +0000
committerEric Fiselier <eric@efcs.ca>2017-05-11 01:44:30 +0000
commita0c06c3365f0b585961aec354d2746c8668ff1e9 (patch)
tree6a85ee52ab32316c5a82e0d4d7f2286aac4fa26e /llvm/projects
parent7a2d56813db52951251f18884fe1ee8e48a97ce0 (diff)
downloadllvm-a0c06c3365f0b585961aec354d2746c8668ff1e9.zip
llvm-a0c06c3365f0b585961aec354d2746c8668ff1e9.tar.gz
llvm-a0c06c3365f0b585961aec354d2746c8668ff1e9.tar.bz2
Add temporary workaround to allow in-tree libc++ builds on Windows
llvm-svn: 302753
Diffstat (limited to 'llvm/projects')
-rw-r--r--llvm/projects/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/projects/CMakeLists.txt b/llvm/projects/CMakeLists.txt
index 79d8fc7..9102efb 100644
--- a/llvm/projects/CMakeLists.txt
+++ b/llvm/projects/CMakeLists.txt
@@ -22,7 +22,9 @@ endforeach(entry)
if(${LLVM_BUILD_RUNTIME})
# MSVC isn't quite working with libc++ yet, disable it until issues are
# fixed.
- if(NOT MSVC)
+ # FIXME: LLVM_FORCE_BUILD_RUNTIME is currently used by libc++ to force
+ # enable the in-tree build when targeting clang-cl.
+ if(NOT MSVC OR LLVM_FORCE_BUILD_RUNTIME)
# Add the projects in reverse order of their dependencies so that the
# dependent projects can see the target names of their dependencies.
add_llvm_external_project(libunwind)