summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-01-02 12:30:18 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-01-02 12:30:18 +0000
commit449d4e12c9e51d5f1eb759df214306cf285811a0 (patch)
tree61c583c36a3d91bae8770a25c86986b041ddbad1 /cmake
parent94942cec11ba3dc2592d1195324d2315a58d7711 (diff)
downloadllvm-449d4e12c9e51d5f1eb759df214306cf285811a0.tar.gz
llvm-449d4e12c9e51d5f1eb759df214306cf285811a0.tar.bz2
llvm-449d4e12c9e51d5f1eb759df214306cf285811a0.tar.xz
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
Diffstat (limited to '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)