Skip to content

Commit

Permalink
Fix CMake project tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpakkane committed Jul 28, 2024
1 parent 2c83900 commit da54e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/cmake/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
]

def cmake_is_debug(env: 'Environment') -> bool:
if env.coredata.optstore.has_option('b_vscrt'):
if 'b_vscrt' in env.coredata.optstore:
is_debug = env.coredata.optstore.get_value_for('buildtype') == 'debug'
if env.coredata.optstore.get_value_for('b_vscrt') in {'mdd', 'mtd'}:
is_debug = True
Expand Down

0 comments on commit da54e7c

Please sign in to comment.