-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Labels
Description
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.