multiple rules generate gl2ps.lib
On windows static and dynamic library names clash:
ninja: error: build.ninja:111: multiple rules generate gl2ps.lib [-w dupbuild=err]
A solution could be to build either static or dynamic thanks to BUILD_SHARED_LIBS. https://cmake.org/cmake/help/v3.17/variable/BUILD_SHARED_LIBS.html We often dont care about static libs so I propose the default to be dynamic.
Here is a patch for that: target.patch