summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake/modules/AddLLVM.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake
index 301aeea80f..0c9abcad50 100644
--- a/cmake/modules/AddLLVM.cmake
+++ b/cmake/modules/AddLLVM.cmake
@@ -37,8 +37,8 @@ function(llvm_update_compile_flags name)
foreach(fn ${sources})
get_filename_component(suf ${fn} EXT)
if("${suf}" STREQUAL ".cpp")
- set_property(SOURCE ${fn} APPEND_STRING PROPERTY
- COMPILE_FLAGS "${target_compile_flags}")
+ set_property(SOURCE ${fn} APPEND_STRING PROPERTY
+ COMPILE_FLAGS "${target_compile_flags}")
endif()
endforeach()
else()