Repository navigation
Commit 9a113bd
committed
fix(compat.opencv): static CRT (/MT) on Windows to match mcpp consumer
First Windows source build was a near-complete success: clang-cl autodetected
MSVC, cmake configured, all of core+imgproc+imgcodecs compiled, install laid
the normalised layout (opencv_core.lib etc). Only the consumer link failed
LNK2038: OpenCV built /MD (dynamic CRT) but mcpp compiles its objects /MT
(roundtrip.o = MT_StaticRelease). Flip BUILD_WITH_STATIC_CRT to ON (/MT, also
OpenCV's Windows default) so the RuntimeLibrary matches.1 parent a29d094 commit 9a113bd
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
392 | | - | |
393 | | - | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
394 | 396 | | |
395 | 397 | | |
396 | 398 | | |
397 | 399 | | |
398 | 400 | | |
399 | | - | |
| 401 | + | |
400 | 402 | | |
401 | 403 | | |
402 | 404 | | |
| |||
0 commit comments