From: Oscar Fuentes Date: Sun, 2 Jan 2011 12:30:18 +0000 (+0000) Subject: Propagate to parent scope changes made to CMAKE_CXX_FLAGS. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=449d4e12c9e51d5f1eb759df214306cf285811a0;p=oota-llvm.git Propagate to parent scope changes made to CMAKE_CXX_FLAGS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122692 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/cmake/modules/LLVMProcessSources.cmake b/cmake/modules/LLVMProcessSources.cmake index d9c14fbe837..092c2f795d3 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)