summaryrefslogtreecommitdiff
path: root/lib/IRReader
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-02-11 03:28:02 +0000
committerZachary Turner <zturner@google.com>2015-02-11 03:28:02 +0000
commitc371307e604b6420fbe6ff25944477e681aa9bdd (patch)
tree0445832a9f0a34874eeb058c202fd2684ed44559 /lib/IRReader
parent167ce4489cabd2cd2a4ea3acc8e2f45b478337a6 (diff)
Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects.
This allows IDEs to recognize the entire set of header files for each of the core LLVM projects. Differential Revision: http://reviews.llvm.org/D7526 Reviewed By: Chris Bieneman git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228798 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IRReader')
-rw-r--r--lib/IRReader/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/IRReader/CMakeLists.txt b/lib/IRReader/CMakeLists.txt
index cf10d8b7dba..2c0e61b65fb 100644
--- a/lib/IRReader/CMakeLists.txt
+++ b/lib/IRReader/CMakeLists.txt
@@ -1,3 +1,6 @@
add_llvm_library(LLVMIRReader
IRReader.cpp
+
+ ADDITIONAL_HEADER_DIRS
+ ${LLVM_MAIN_INCLUDE_DIR}/llvm/IRReader
)