From 449d4e12c9e51d5f1eb759df214306cf285811a0 Mon Sep 17 00:00:00 2001 From: Oscar Fuentes Date: Sun, 2 Jan 2011 12:30:18 +0000 Subject: [PATCH] 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 --- cmake/modules/LLVMProcessSources.cmake | 1 + 1 file changed, 1 insertion(+) 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)