mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
meson: Use the b_vscrt option for selecting the CRT
This option has been available since 0.48, and we should use it instead of only guessing based on buildtype.
This commit is contained in:
@@ -105,7 +105,7 @@ if not dbus1_dep.found()
|
||||
# MSVC: Search for the DBus library by the configuration, which corresponds
|
||||
# to the output of CMake builds of DBus. Note that debugoptimized
|
||||
# is really a Release build with .PDB files.
|
||||
if buildtype == 'debug'
|
||||
if vs_crt == 'debug'
|
||||
dbus1_dep = cc.find_library('dbus-1d', required : false)
|
||||
else
|
||||
dbus1_dep = cc.find_library('dbus-1', required : false)
|
||||
|
Reference in New Issue
Block a user