EnableCoverageReport macro does not append to target properties correctly
Bug #1469952 reported by
James Henstridge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cmake-extras (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In the EnableCoverageR
SET_
If the target has its COMPILE_FLAGS set to e.g. "-foo", then this results in them being set to "-foo-g --coverage ", which results in a compile failure. If we are appending to the property, then there should be a space at the beginning of what we're appending. The space at the end seems superfluous though.
Related branches
lp:~michihenning/cmake-extras/fix-space
- Pete Woods: Approve
- CMake Extras: Pending requested
-
Diff: 25 lines (+4/-4)1 file modifiedsrc/EnableCoverageReport.cmake (+4/-4)
Changed in cmake-extras: | |
status: | New → In Progress |
assignee: | nobody → Michi Henning (michihenning) |
Changed in cmake-extras: | |
status: | In Progress → Fix Committed |
no longer affects: | cmake-extras |
Changed in cmake-extras (Ubuntu): | |
status: | New → In Progress |
Changed in cmake-extras (Ubuntu): | |
status: | In Progress → Fix Released |
To post a comment you must log in.