diff --git a/dynamic/wrapper_generators/generate.py b/dynamic/wrapper_generators/generate.py index 0df3538f..03a36ec8 100644 --- a/dynamic/wrapper_generators/generate.py +++ b/dynamic/wrapper_generators/generate.py @@ -47,9 +47,12 @@ castxml_binary = sys.argv[4] includes = sys.argv[5:] - generator = CppWrapperGenerator(source_root, - includes, - wrapper_root, - castxml_binary, - package_info_path) + generator = CppWrapperGenerator( + source_root, + includes, + wrapper_root, + castxml_binary, + package_info_path, + castxml_cflags="-std=c++17", + ) generator.generate_wrapper()