Update CMakeLists.txt to append, not overwrite CMAKE_CXX_FLAGS

This commit is contained in:
jbeder 2009-10-19 22:32:26 +00:00
parent eef16b7f23
commit 85120a2cbf

View File

@ -10,7 +10,7 @@ if(IPHONE)
endif(IPHONE)
if(CMAKE_COMPILER_IS_GNUCC)
set(CMAKE_CXX_FLAGS "-O2 -Wall -pedantic -Wextra")
set(CMAKE_CXX_FLAGS "-O2 -Wall -pedantic -Wextra ${CMAKE_CXX_FLAGS}")
endif(CMAKE_COMPILER_IS_GNUCC)
set(YAML_CPP_VERSION_MAJOR "0")