diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-08-05 21:48:03 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2020-08-05 19:50:24 +0000 |
commit | d4ec080f732a36a361911c3949e5644512642852 (patch) | |
tree | f795d5547a82bea666a434705e787abaddd89392 /mesonbuild/cmake/traceparser.py | |
parent | adbed4c636c295093f5d5da13eb9b433e592225c (diff) | |
download | meson-d4ec080f732a36a361911c3949e5644512642852.zip meson-d4ec080f732a36a361911c3949e5644512642852.tar.gz meson-d4ec080f732a36a361911c3949e5644512642852.tar.bz2 |
cmake: Use the DEBUG config when linking to the debug CRT
The `debug` builtin option does not control whether or not the debug
CRT is used. Without this fix, when buildtype=debugoptimized or when
debug=true + b_vscrt=md, we will try to link to the debug libraries
found via cmake while linking with `/release`, which will cause a link
failure.
Diffstat (limited to 'mesonbuild/cmake/traceparser.py')
0 files changed, 0 insertions, 0 deletions