Skip to content

Install targets use CMAKE_PREFIX_PATH instead of CMAKE_INSTALL_PREFIX #23

@dgavedissian

Description

@dgavedissian

When installing software built with CMake, it should be installed to the path specified by CMAKE_INSTALL_PREFIX. A pull request has added install targets to install to CMAKE_PREFIX_PATH, which is incorrect. CMAKE_PREFIX_PATH is used for FIND_XX scripts to search for dependencies to the project you're currently building.

These need to be changed to remove the explicit ${CMAKE_PREFIX_PATH} from the install targets. I'll create a pull request to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions