aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2016-11-02 21:27:38 +0000
committerVincent Richard <[email protected]>2016-11-02 21:27:38 +0000
commit4ea1cdc2a1c9425ea39d7fc2d6a4c354afaacbdd (patch)
tree183122a1de060bac14660fe544d7196dee047799
parentMerge branch 'master' of https://github.com/kisli/vmime (diff)
downloadvmime-4ea1cdc2a1c9425ea39d7fc2d6a4c354afaacbdd.tar.gz
vmime-4ea1cdc2a1c9425ea39d7fc2d6a4c354afaacbdd.zip
Don't recursively include compile flags.
-rw-r--r--CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9755a2ee..2a36515f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1032,9 +1032,9 @@ IF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
SET(
CMAKE_CXX_FLAGS
- "${CMAKE_CXX_FLAGS} -D_REENTRANT=1 -W -Wall -pedantic -Warray-bounds-pointer-arithmetic -Wold-style-cast -Wconversion -Wcast-align -Wno-sign-conversion"
+ "-D_REENTRANT=1 -W -Wall -pedantic -Warray-bounds-pointer-arithmetic -Wold-style-cast -Wconversion -Wcast-align -Wno-sign-conversion"
CACHE STRING
- "g++ Compiler Flags"
+ "C++ Compiler Flags"
FORCE
)
@@ -1050,9 +1050,9 @@ ELSE()
SET(
CMAKE_CXX_FLAGS
- "${CMAKE_CXX_FLAGS} -D_REENTRANT=1 -W -Wall -pedantic -Wpointer-arith -Wold-style-cast -Wconversion -Wcast-align -Wno-long-long"
+ "-D_REENTRANT=1 -W -Wall -pedantic -Wpointer-arith -Wold-style-cast -Wconversion -Wcast-align -Wno-long-long"
CACHE STRING
- "g++ Compiler Flags"
+ "C++ Compiler Flags"
FORCE
)