mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 04:41:16 +00:00
Update CMakeLists.txt to append, not overwrite CMAKE_CXX_FLAGS
This commit is contained in:
@@ -10,7 +10,7 @@ if(IPHONE)
|
|||||||
endif(IPHONE)
|
endif(IPHONE)
|
||||||
|
|
||||||
if(CMAKE_COMPILER_IS_GNUCC)
|
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)
|
endif(CMAKE_COMPILER_IS_GNUCC)
|
||||||
|
|
||||||
set(YAML_CPP_VERSION_MAJOR "0")
|
set(YAML_CPP_VERSION_MAJOR "0")
|
||||||
|
Reference in New Issue
Block a user