From ca1c8be47bfde1dbfc1662a978541bc0492823d6 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sat, 18 Apr 2020 12:09:46 +0100 Subject: [PATCH] [cmake] LLVMPasses - add include/llvm header path Pick up all the Pass headers in the root for MSVC projects --- lib/Passes/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Passes/CMakeLists.txt b/lib/Passes/CMakeLists.txt index 8752159f427..371a21c113d 100644 --- a/lib/Passes/CMakeLists.txt +++ b/lib/Passes/CMakeLists.txt @@ -8,6 +8,7 @@ add_llvm_component_library(LLVMPasses StandardInstrumentations.cpp ADDITIONAL_HEADER_DIRS + ${LLVM_MAIN_INCLUDE_DIR}/llvm ${LLVM_MAIN_INCLUDE_DIR}/llvm/Passes DEPENDS