-
Notifications
You must be signed in to change notification settings - Fork 1k
Incorrect install paths #764
Copy link
Copy link
Closed
Labels
cmakeBugs and feature requests related to Draco's CMake buildBugs and feature requests related to Draco's CMake build
Description
When given an absolute path for e.g. CMAKE_INSTALL_LIBDIR, cmake does NOT prepend CMAKE_INSTALL_PREFIX, that is only done for relative paths (see the CMake manual)
However path wrangling in draco_install.cmake always unconditionally prepends the prefix, leading to broken installs e.g. on NixOS. Nix always passes absolute paths to cmake for the specific install directories, as they may have different prefixes in order to split large packages into smaller ones (such as having a separate package for documentation or data files).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cmakeBugs and feature requests related to Draco's CMake buildBugs and feature requests related to Draco's CMake build