CMake: Hopefully unbreak the build by mimicking the changes on the

other build system about the new C_INCLUDE_DIRS configure option.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86960 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Oscar Fuentes
2009-11-12 06:48:09 +00:00
parent 7f9ec910a3
commit 8e3c16917c
2 changed files with 6 additions and 0 deletions

View File

@@ -70,6 +70,9 @@ else( MSVC )
CACHE STRING "Semicolon-separated list of targets to build, or \"all\".") CACHE STRING "Semicolon-separated list of targets to build, or \"all\".")
endif( MSVC ) endif( MSVC )
set(C_INCLUDE_DIRS "" CACHE STRING
"Colon separated list of directories clang will search for headers.")
set(LLVM_TARGET_ARCH "host" set(LLVM_TARGET_ARCH "host"
CACHE STRING "Set target to use for LLVM JIT or use \"host\" for automatic detection.") CACHE STRING "Set target to use for LLVM JIT or use \"host\" for automatic detection.")

View File

@@ -9,6 +9,9 @@
/* Define if CBE is enabled for printf %a output */ /* Define if CBE is enabled for printf %a output */
#undef ENABLE_CBE_PRINTF_A #undef ENABLE_CBE_PRINTF_A
/* Directories clang will search for headers */
#define C_INCLUDE_DIRS "${C_INCLUDE_DIRS}"
/* Define if position independent code is enabled */ /* Define if position independent code is enabled */
#cmakedefine ENABLE_PIC ${ENABLE_PIC} #cmakedefine ENABLE_PIC ${ENABLE_PIC}