Skip to content

Incorrect install paths #764

Closed
Closed
@jansol

Description

@jansol

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    cmakeBugs and feature requests related to Draco's CMake build

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions