Commit 68dc51d
committed
[Build][CMake] Use CMake internal instead of custom command for moc
CMake has an internal function (`qt5_generate_moc`) that can be used to
forcibly generate a `.moc` file. Use that instead of the generic
`execute_process` function.
This fixes an issue on systems (fe, Arch Linux) where Qt's moc binary
are placed in a different location than debian based distros.1 parent 5a7b514 commit 68dc51d
1 file changed
+1
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 52 | | |
61 | 53 | | |
62 | 54 | | |
| |||
165 | 157 | | |
166 | 158 | | |
167 | 159 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
| 160 | + | |
172 | 161 | | |
173 | 162 | | |
174 | 163 | | |
| |||
0 commit comments