diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/AddLLVMDefinitions.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmake/modules/AddLLVMDefinitions.cmake b/cmake/modules/AddLLVMDefinitions.cmake index 0f6d81f736..2787830bfa 100644 --- a/cmake/modules/AddLLVMDefinitions.cmake +++ b/cmake/modules/AddLLVMDefinitions.cmake @@ -5,7 +5,10 @@ # Beware that there is no implementation of remove_llvm_definitions.
macro(add_llvm_definitions)
- set(LLVM_DEFINITIONS "${LLVM_DEFINITIONS} ${ARGN}")
+ # We don't want no semicolons on LLVM_DEFINITIONS:
+ foreach(arg ${ARGN})
+ set(LLVM_DEFINITIONS "${LLVM_DEFINITIONS} ${arg}")
+ endforeach(arg)
add_definitions( ${ARGN} )
endmacro(add_llvm_definitions)
|