Skip to content

respecting CMake's CMAKE_INSTALL_PREFIX for installation #631

@fdarling

Description

@fdarling

I downloaded ChaiScript from git and compiled it locally, and when going to install it to a local home directory location, I noticed that it wasn't respecting my custom CMAKE_INSTALL_PREFIX I passed to CMake:

cmake .. -DCMAKE_INSTALL_PREFIX=~/apps/chaiscript

When running make install, it seems to use DESTDIR from the shell environment. However, that isn't the complete picture because the installed pkgconfig/chaiscript.pc has the prefix variable set to /usr/local (the default?).

I would love to see this fixed, and am willing to help if someone can give me some pointers on the existing codebase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions