Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects.
[oota-llvm.git] / lib / Transforms / Instrumentation / CMakeLists.txt
index 92e1091aa3b1a8bc8a4c5602986632bece60eb12..b2ff03343eb0fa1693adc039d367f5d5eed332da 100644 (file)
@@ -8,6 +8,9 @@ add_llvm_library(LLVMInstrumentation
   InstrProfiling.cpp
   SanitizerCoverage.cpp
   ThreadSanitizer.cpp
+
+  ADDITIONAL_HEADER_DIRS
+  ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms
   )
 
 add_dependencies(LLVMInstrumentation intrinsics_gen)