From 11d10c5ca5124ca49c3ed269dfdcbe27b8769a3e Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 1 May 2023 17:05:12 +0200 Subject: [PATCH] Don't try to build old classes with msvc. --- SCsub | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SCsub b/SCsub index b0e1a96..603aeaa 100644 --- a/SCsub +++ b/SCsub @@ -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",