forked from OSchip/llvm-project
[libclc] Quote addition of CLC/LLAsm flags
Otherwise cmake will insert a semicolon if flags are already set. Differential Revision: https://reviews.llvm.org/D131490
This commit is contained in:
parent
8f3fd26b74
commit
a11e2d7366
|
@ -136,8 +136,8 @@ set( LLVM_VERSION_DEFINE "-DHAVE_LLVM=0x${LLVM_MAJOR}0${LLVM_MINOR}" )
|
|||
|
||||
# LLVM 13 enables standard includes by default
|
||||
if( ${LLVM_VERSION} VERSION_GREATER "12.99.99" )
|
||||
set( CMAKE_LLAsm_FLAGS ${CMAKE_LLAsm_FLAGS} -cl-no-stdinc )
|
||||
set( CMAKE_CLC_FLAGS ${CMAKE_CLC_FLAGS} -cl-no-stdinc )
|
||||
set( CMAKE_LLAsm_FLAGS "${CMAKE_LLAsm_FLAGS} -cl-no-stdinc")
|
||||
set( CMAKE_CLC_FLAGS "${CMAKE_CLC_FLAGS} -cl-no-stdinc")
|
||||
endif()
|
||||
|
||||
enable_language( CLC LLAsm )
|
||||
|
|
Loading…
Reference in New Issue