Skip to content

Fixed paths #724

@OgreTransporter

Description

@OgreTransporter

The file cmake/ChronoConfig.cmake.in contains numerous hard-coded absolute paths. For example:

set(Eigen3_DIR "@Eigen3_DIR@" CACHE PATH "Path to Eigen3 config file (should contain the \"Eigen3Config.cmake\" file")

I don’t think this is a good approach, because when I transfer the library to another computer, the paths are usually incorrect. After the build, ChronoConfig.cmake then contains, for example:

set(Eigen3_DIR "E:/workspace/ProjectChrono/deps/Eigen/share/eigen3/cmake" CACHE PATH "Path to Eigen3 config file (should contain the \"Eigen3Config.cmake\" file")

This applies not only to Eigen3 but also to the other dependencies.

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