macros.cmake: set -DCMAKE_BUILD_TYPE=ReleaseWithDebInfo by default

Kevin Kofler kevin.kofler at chello.at
Tue Nov 13 22:53:33 UTC 2012


I wrote:

> Richard Shaw wrote:
>> I'd have to go back and look but the last flag wins, right? I've had
>> cmake projects where RPM_OPT_FLAGS was used but the cmake options were
>> appended, so I ended up with -O3...
> 
> Then these packages are faulty and need to be fixed (patch
> CMakeLists.txt).

PS: And/or the systemwide default in CMake needs to be fixed:
https://bugzilla.redhat.com/show_bug.cgi?id=875954#c2

        Kevin Kofler



More information about the devel mailing list