Index: compiler-rt/trunk/lib/profile/CMakeLists.txt =================================================================== --- compiler-rt/trunk/lib/profile/CMakeLists.txt +++ compiler-rt/trunk/lib/profile/CMakeLists.txt @@ -11,6 +11,8 @@ InstrProfilingRuntime.cc InstrProfilingUtil.c) +include_directories("${LLVM_MAIN_INCLUDE_DIR}") + if(APPLE) add_compiler_rt_runtime(clang_rt.profile STATIC