Skip to content

Option to disable include arg modifications #2747

@moloney

Description

@moloney

Is your feature request related to a problem? Please describe.
I am building MRtrix3 with spack which builds all of the dependencies (e.g. Qt5) before hand, and then uses those custom built versions for includes / linking. Unfortunately the MRtrix3 "configure" script replaces all the -I <path> args with -idirafter <path> which breaks this.

Describe the solution you'd like
Would it be possible add some option to disable this behavior for users who are compiling against custom built dependencies? It might even make sense to make that the default?

Describe alternatives you've considered
I have a fix in spack that patches the configure script: spack/spack#41036

However I think this could bite anyone trying to use custom compiled dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions