Skip to content
Snippets Groups Projects

Fix CMake warning CMP0177

Merged Santiago Ospina De Los Ríos requested to merge cleanup/remove-CMP0177-warning into master

This fixes a the CMake warning CMP0177. CMake used to not allow relative paths in the install() directive. Now they normalize the paths so this is allowed, however, now they throw a warning for old code if they notice un-normalized paths. This MR fixes this by simply using the path relative to the install prefix, instead of calculating it from the binary directory.

In case of being accepted, I would suggest to also back-port it to 2.10.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading