[llvm] 5c16da3 - [cmake] LLVMGlobalISel - add include/llvm/CodeGen/GlobalISel header path
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 18 04:33:50 PDT 2020
Author: Simon Pilgrim
Date: 2020-04-18T12:31:40+01:00
New Revision: 5c16da387ee6556b5b577edd3e4ff53e68f94826
URL: https://github.com/llvm/llvm-project/commit/5c16da387ee6556b5b577edd3e4ff53e68f94826
DIFF: https://github.com/llvm/llvm-project/commit/5c16da387ee6556b5b577edd3e4ff53e68f94826.diff
LOG: [cmake] LLVMGlobalISel - add include/llvm/CodeGen/GlobalISel header path
Pick up the GlobalISel headers in MSVC projects
Added:
Modified:
llvm/lib/CodeGen/GlobalISel/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/GlobalISel/CMakeLists.txt b/llvm/lib/CodeGen/GlobalISel/CMakeLists.txt
index ed6a45afb7aa..c04cf367ba41 100644
--- a/llvm/lib/CodeGen/GlobalISel/CMakeLists.txt
+++ b/llvm/lib/CodeGen/GlobalISel/CMakeLists.txt
@@ -23,6 +23,9 @@ add_llvm_component_library(LLVMGlobalISel
RegisterBankInfo.cpp
Utils.cpp
+ ADDITIONAL_HEADER_DIRS
+ ${LLVM_MAIN_INCLUDE_DIR}/llvm/CodeGen/GlobalISel
+
DEPENDS
intrinsics_gen
)
More information about the llvm-commits
mailing list