Commit bcc4287
committed
CMake: don't add -pthread for Windows builds
It can generate some warnings or compilations errors.
The official CMake way of picking the thread library [^1] should probably be used for non-Windows targets.
[^1]: https://cmake.org/cmake/help/latest/module/FindThreads.html
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>1 parent ef5f723 commit bcc4287
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
126 | 129 | | |
127 | 130 | | |
128 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
185 | 188 | | |
186 | 189 | | |
187 | 190 | | |
| |||
0 commit comments