aboutsummaryrefslogtreecommitdiff
path: root/llvm/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
commit3bd47cee78afc3aea72ef0da887bf4caa7f685aa (patch)
treee0688c6a8b01b56f071348d292411d841b5a6b1f /llvm/lib/IRReader
parent43b2cae82a39dcabdfe56c457789b90babd37a5f (diff)
downloadllvm-3bd47cee78afc3aea72ef0da887bf4caa7f685aa.zip
llvm-3bd47cee78afc3aea72ef0da887bf4caa7f685aa.tar.gz
llvm-3bd47cee78afc3aea72ef0da887bf4caa7f685aa.tar.bz2
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 llvm-svn: 228798
Diffstat (limited to 'llvm/lib/IRReader')
-rw-r--r--llvm/lib/IRReader/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/IRReader/CMakeLists.txt b/llvm/lib/IRReader/CMakeLists.txt
index cf10d8b..2c0e61b 100644
--- a/llvm/lib/IRReader/CMakeLists.txt
+++ b/llvm/lib/IRReader/CMakeLists.txt
@@ -1,3 +1,6 @@
add_llvm_library(LLVMIRReader
IRReader.cpp
+
+ ADDITIONAL_HEADER_DIRS
+ ${LLVM_MAIN_INCLUDE_DIR}/llvm/IRReader
)