qt5: fix cmake cleanup on darwin
This fixes the case where the `find` command does not return any files.
This commit is contained in:
parent
5cfd049a03
commit
66c0193e6b
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ qtQmlPrefix=@qtQmlPrefix@
|
||||||
qtDocPrefix=@qtDocPrefix@
|
qtDocPrefix=@qtDocPrefix@
|
||||||
|
|
||||||
_qtRmCMakeLink() {
|
_qtRmCMakeLink() {
|
||||||
find "${!outputLib}" -name "*.cmake" -type l | xargs rm
|
find "${!outputLib}" -name "*.cmake" -type l -delete
|
||||||
}
|
}
|
||||||
|
|
||||||
postInstallHooks+=(_qtRmCMakeLink)
|
postInstallHooks+=(_qtRmCMakeLink)
|
||||||
|
|
Loading…
Reference in a new issue