diff options
-rw-r--r-- | llvm/projects/CMakeLists.txt | 4 |
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) |