kastnermario / yaml-cpp

Automatically exported from code.google.com/p/yaml-cpp
MIT License
0 stars 0 forks source link

CMakeLists.txt overrides CMAKE_CXX_FLAGS #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello, i packaged yaml-cpp for inclusion in Fedora ( see details and
process status here: https://bugzilla.redhat.com/show_bug.cgi?id=529016 ).

As per Fedora Guidelines the distributed binary package must be rebuilt
from scratch from the sources; to successfully build the debuginfo package,
i had to modify CMakeLists.txt :

sed -i 's/set(CMAKE_CXX_FLAGS "-O2 -Wall -pedantic
-Wextra")/set(CMAKE_CXX_FLAGS "-O2 -Wall -pedantic -Wextra
${CMAKE_CXX_FLAGS}")/g' CMakeLists.txt

to make it append preset env to CMAKE_CXX_FLAGS instead of overwriting it.

Regards,

Original issue reported on code.google.com by guido.grazioli on 19 Oct 2009 at 5:16

GoogleCodeExporter commented 8 years ago
Thanks! I've patched the file (r275). It's really cool that you're adding 
yaml-cpp to
Fedora!

This patch will be in v0.2.3, which should come out pretty soon, I think.

Original comment by jbe...@gmail.com on 19 Oct 2009 at 10:35