mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-05 02:28:51 +00:00
bb9c221f2a
built native tblgen which is passed to cmake in the variable LLVM_TABLEGEN. See http://www.cmake.org/Wiki/CmakeMingw for a quick example on how to cross-compile with CMake. llvm-svn: 58939
7 lines
292 B
CMake
7 lines
292 B
CMake
# TODO: Build a native tblgen when cross-compiling, if the user
|
|
# didn't set LLVM_TABLEGEN. Then, remove this check:
|
|
if( CMAKE_CROSSCOMPILING AND ${LLVM_TABLEGEN} STREQUAL "tblgen" )
|
|
message(FATAL_ERROR
|
|
"Set LLVM_TABLEGEN to the full route to a native tblgen executable")
|
|
endif()
|