diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2011-01-02 12:30:18 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2011-01-02 12:30:18 +0000 |
commit | 449d4e12c9e51d5f1eb759df214306cf285811a0 (patch) | |
tree | 61c583c36a3d91bae8770a25c86986b041ddbad1 /cmake/modules | |
parent | 94942cec11ba3dc2592d1195324d2315a58d7711 (diff) | |
download | external_llvm-449d4e12c9e51d5f1eb759df214306cf285811a0.zip external_llvm-449d4e12c9e51d5f1eb759df214306cf285811a0.tar.gz external_llvm-449d4e12c9e51d5f1eb759df214306cf285811a0.tar.bz2 |
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/modules')
-rw-r--r-- | cmake/modules/LLVMProcessSources.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/LLVMProcessSources.cmake b/cmake/modules/LLVMProcessSources.cmake index d9c14fb..092c2f7 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) |