File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
var/spack/repos/builtin/packages/qt-base Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -70,9 +70,15 @@ def cmake_args(self):
7070 if re_qt .match (dep .name ):
7171 qt_prefix_path .append (self .spec [dep .name ].prefix )
7272
73- # Now append all qt-* dependency prefixex into a prefix path
73+ # Now append all qt-* dependency prefixes into a prefix path
7474 args .append (self .define ("QT_ADDITIONAL_PACKAGES_PREFIX_PATH" , ":" .join (qt_prefix_path )))
7575
76+ # Make our CMAKE_INSTALL_RPATH redundant:
77+ # for prefix of current package ($ORIGIN/../lib type of rpaths),
78+ args .append (self .define ("QT_DISABLE_RPATH" , True ))
79+ # for prefixes of dependencies
80+ args .append (self .define ("QT_NO_DISABLE_CMAKE_INSTALL_RPATH_USE_LINK_PATH" , True ))
81+
7682 return args
7783
7884 @run_after ("install" )
You can’t perform that action at this time.
0 commit comments