See https://gitlab.kitware.com/cmake/cmake/-/issues/21146
BEGIN_PUBLIC
Prevent patches to be applied to an already patched dependency.
END_PUBLIC
PiperOrigin-RevId: 565624168
Change-Id: I29b36d2cd02f58d5d9e84f9cae5e5bbf8be1b404
Also make minor modifications to Python bindings code for GCC compatibility.
Fixes#191.
PiperOrigin-RevId: 435127640
Change-Id: I8bd3a35bbb2724a24341072ba8df3da4372f83d3