mirror of
https://github.com/RPCSX/llvm.git
synced 2025-04-02 08:11:54 +00:00
[CMake] Fixing clang standalone build
I broke this in r288770. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288829 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
057100dd3a
commit
461b461526
@ -803,8 +803,6 @@ endif()
|
||||
include(AddLLVM)
|
||||
include(TableGen)
|
||||
|
||||
set(LLVM_TABLEGEN_FLAGS -I ${LLVM_MAIN_INCLUDE_DIR})
|
||||
|
||||
if( MINGW )
|
||||
# People report that -O3 is unreliable on MinGW. The traditional
|
||||
# build also uses -O2 for that reason:
|
||||
|
@ -4,6 +4,10 @@
|
||||
|
||||
include(LLVMExternalProjectUtils)
|
||||
|
||||
if(LLVM_MAIN_INCLUDE_DIR)
|
||||
set(LLVM_TABLEGEN_FLAGS -I ${LLVM_MAIN_INCLUDE_DIR})
|
||||
endif()
|
||||
|
||||
function(tablegen project ofn)
|
||||
# Validate calling context.
|
||||
if(NOT ${project}_TABLEGEN_EXE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user