summaryrefslogtreecommitdiffstats
path: root/cmake/modules/TableGen.cmake
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2008-10-29 02:33:15 +0000
committerOscar Fuentes <ofv@wanadoo.es>2008-10-29 02:33:15 +0000
commit980e842153e868fc0c5c261311d965d00271ca5d (patch)
tree776333c0ebeed25ce6a529688fd9f84afda690f8 /cmake/modules/TableGen.cmake
parent1a99dbfe3b70c83d3f3e4648b5868c04697cd77c (diff)
downloadexternal_llvm-980e842153e868fc0c5c261311d965d00271ca5d.zip
external_llvm-980e842153e868fc0c5c261311d965d00271ca5d.tar.gz
external_llvm-980e842153e868fc0c5c261311d965d00271ca5d.tar.bz2
CMake: Removed some cruft.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58358 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/modules/TableGen.cmake')
-rw-r--r--cmake/modules/TableGen.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/TableGen.cmake b/cmake/modules/TableGen.cmake
index f7b081c..c332ed1 100644
--- a/cmake/modules/TableGen.cmake
+++ b/cmake/modules/TableGen.cmake
@@ -4,7 +4,7 @@
macro(tablegen ofn)
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${ofn}
- COMMAND tblgen ${ARGN} -I ${CMAKE_CURRENT_SOURCE_DIR} -I ${CMAKE_SOURCE_DIR}/lib/Target -I ${llvm_include_path} ${CMAKE_CURRENT_SOURCE_DIR}/${LLVM_TARGET_DEFINITIONS} -o ${ofn}
+ COMMAND tblgen ${ARGN} -I ${CMAKE_CURRENT_SOURCE_DIR} -I ${CMAKE_SOURCE_DIR}/lib/Target -I ${LLVM_MAIN_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/${LLVM_TARGET_DEFINITIONS} -o ${ofn}
DEPENDS tblgen ${CMAKE_CURRENT_SOURCE_DIR}/${LLVM_TARGET_DEFINITIONS}
COMMENT "Building ${ofn}..."
)