mirror of
https://github.com/RPCS3/yaml-cpp.git
synced 2026-01-31 01:25:20 +01:00
Update CMakeLists.txt to append, not overwrite CMAKE_CXX_FLAGS
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user