mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Pass -G argument to cmake with the same generator's name as used for the
initial cmake invocation. Patch reviewed by Reid Kleckner. llvm-svn: 187591
This commit is contained in:
parent
8fc4bdfaae
commit
b72c2f486d
@ -66,7 +66,8 @@ if(CMAKE_CROSSCOMPILING)
|
||||
|
||||
add_custom_command(OUTPUT ${CX_NATIVE_TG_DIR}/CMakeCache.txt
|
||||
COMMAND ${CMAKE_COMMAND} -UMAKE_TOOLCHAIN_FILE -DCMAKE_BUILD_TYPE=Release
|
||||
-DLLVM_BUILD_POLLY=OFF ${CMAKE_SOURCE_DIR}
|
||||
-DLLVM_BUILD_POLLY=OFF
|
||||
-G "${CMAKE_GENERATOR}" ${CMAKE_SOURCE_DIR}
|
||||
WORKING_DIRECTORY ${CX_NATIVE_TG_DIR}
|
||||
DEPENDS ${CX_NATIVE_TG_DIR}
|
||||
COMMENT "Configuring native TableGen...")
|
||||
|
Loading…
x
Reference in New Issue
Block a user