summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-05-16 19:46:52 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-05-16 19:46:52 +0000
commit6b3f41ed88e8e440e11a4fbf20b6600529f80049 (patch)
tree928b056f24a634d628c80238dbbf10d41b1a71d5 /projects
parentc46e6a5940c50058e00c0c5f9123fd82e338d29a (diff)
downloadsrc-test2-6b3f41ed88e8e440e11a4fbf20b6600529f80049.tar.gz
src-test2-6b3f41ed88e8e440e11a4fbf20b6600529f80049.zip
Notes
Diffstat (limited to 'projects')
-rw-r--r--projects/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/projects/CMakeLists.txt b/projects/CMakeLists.txt
index 79d8fc7df99b..9102efbdcb46 100644
--- a/projects/CMakeLists.txt
+++ b/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)