Commit Graph
1 Commits
Author SHA1 Message Date
Lucidiot 7af544e03f Allow overriding PREFIX on qmake
I tried to build SavvyCAN for Alpine Linux and ran `qtmake-qt5 PREFIX=/usr`. I got errors because Alpine's packaging tool does not allow placing any files in `/usr/local`; it turns out the prefix I set was ignored because `isEmpty(PREFIX)` was not directly followed by a block, so the block statement gets treated as a separate statement and the `isEmpty` just does nothing.
2021-09-24 00:32:28 +02:00