Commit 53c06f6
authored
Fix Windows 7 incompatibility caused by linking windowsapp (#43)
windowsapp introduces API-set imports that don't resolve on Windows 7,
so the DLL fails to load there. It is only required for UWP/Store
builds, so link it only when targeting WindowsStore and link
kernel32/user32 for classic desktop builds.
Fixes: #411 parent 914a504 commit 53c06f6
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
196 | 204 | | |
197 | 205 | | |
198 | 206 | | |
| |||
0 commit comments