summaryrefslogtreecommitdiff
path: root/cmake/modules/LLVMProcessSources.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/LLVMProcessSources.cmake')
-rw-r--r--cmake/modules/LLVMProcessSources.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/LLVMProcessSources.cmake b/cmake/modules/LLVMProcessSources.cmake
index d9c14fbe83..092c2f795d 100644
--- a/cmake/modules/LLVMProcessSources.cmake
+++ b/cmake/modules/LLVMProcessSources.cmake
@@ -54,6 +54,7 @@ function(llvm_process_sources OUT_VAR)
endif()
endif()
+ set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" PARENT_SCOPE )
set( ${OUT_VAR} ${sources} PARENT_SCOPE )
endfunction(llvm_process_sources)