Don't try to build old classes with msvc.

This commit is contained in:
Relintai 2023-05-01 17:05:12 +02:00
parent 1498a17ec6
commit 11d10c5ca5

4
SCsub
View File

@ -13,6 +13,10 @@ if ARGUMENTS.get('pmlpp_build_old_classes', 'yes') == 'no':
if ARGUMENTS.get('pmlpp_build_tests', 'yes') == 'no':
module_env.pmlpp_build_tests = False
if env.msvc:
# Old classes can't build on MSVC
module_env.pmlpp_build_old_classes = False
sources = [
"register_types.cpp",