From 9ef9eb35cd5c17c4e63ad0c1b9fb14d03b96f7eb Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sat, 18 Apr 2020 10:12:13 +0100 Subject: [PATCH] [cmake] LLVMFrontendOpenMP - fix include/llvm/Frontend/OpenMP header path Correctly pick up the OMP*.h headers in MSVC projects --- lib/Frontend/OpenMP/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Frontend/OpenMP/CMakeLists.txt b/lib/Frontend/OpenMP/CMakeLists.txt index 609b8ad0756..7c332c106c1 100644 --- a/lib/Frontend/OpenMP/CMakeLists.txt +++ b/lib/Frontend/OpenMP/CMakeLists.txt @@ -5,7 +5,7 @@ add_llvm_component_library(LLVMFrontendOpenMP ADDITIONAL_HEADER_DIRS ${LLVM_MAIN_INCLUDE_DIR}/llvm/Frontend - ${LLVM_MAIN_INCLUDE_DIR}/llvm/Frontend/OpenMP/OMP + ${LLVM_MAIN_INCLUDE_DIR}/llvm/Frontend/OpenMP DEPENDS intrinsics_gen