diff options
author | Vincent Richard <[email protected]> | 2016-12-06 21:35:18 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2016-12-06 21:35:18 +0000 |
commit | b1b3f30e8d715b8a805c668a86885395fda24d56 (patch) | |
tree | 63175147c95a2489aaccb3883462cb5182e207d9 | |
parent | Fixed #149: don't loose charset when fixing invalid broken words. (diff) | |
download | vmime-b1b3f30e8d715b8a805c668a86885395fda24d56.tar.gz vmime-b1b3f30e8d715b8a805c668a86885395fda24d56.zip |
Fixed #151: don't ignore CMAKE_CXX_FLAGS command line argument.
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a36515f..8747ccee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1032,10 +1032,7 @@ IF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") SET( CMAKE_CXX_FLAGS - "-D_REENTRANT=1 -W -Wall -pedantic -Warray-bounds-pointer-arithmetic -Wold-style-cast -Wconversion -Wcast-align -Wno-sign-conversion" - CACHE STRING - "C++ Compiler Flags" - FORCE + "${CMAKE_CXX_FLAGS} -D_REENTRANT=1 -W -Wall -pedantic -Warray-bounds-pointer-arithmetic -Wold-style-cast -Wconversion -Wcast-align -Wno-sign-conversion" ) SET(CMAKE_CXX_FLAGS_RELEASE "-O2") @@ -1050,10 +1047,7 @@ ELSE() SET( CMAKE_CXX_FLAGS - "-D_REENTRANT=1 -W -Wall -pedantic -Wpointer-arith -Wold-style-cast -Wconversion -Wcast-align -Wno-long-long" - CACHE STRING - "C++ Compiler Flags" - FORCE + "${CMAKE_CXX_FLAGS} -D_REENTRANT=1 -W -Wall -pedantic -Wpointer-arith -Wold-style-cast -Wconversion -Wcast-align -Wno-long-long" ) SET(CMAKE_CXX_FLAGS_RELEASE "-O2") |