nixpkgs/pkgs/development/libraries/qt-5/5.4/fix-qt-module-cmake-config.sh
2016-01-31 21:15:03 -06:00

6 lines
217 B
Bash

fixQtModuleCMakeConfig() {
local module="$1"
sed -e "/set(imported_location/ s@\\\${_qt5${module}_install_prefix}@${!outputLib}@" \
-i "${!outputDev}/lib/cmake/Qt5${module}/Qt5${module}Config.cmake"
}