Fix build flags and allow overriding them more easily
Polygon and line clipping and offsetting library (C++, C#, Delphi)
Brought to you by:
angusj
The Debian package build scripts include a patch that will fix build paths for the C++ library: https://salsa.debian.org/3dprinting-team/libpolyclipping/blob/master/debian/patches/1000-fix-multiarch-paths.patch
This patch is necessary because the current CMakeLists.txt does not allow overriding the standard path variables with customised paths during package building.
The patch also simplifies the Cmake script by not requiring additional custom variables, and it shouldn't harm other build environments. https://cmake.org/cmake/help/v3.0/module/GNUInstallDirs.html is commonly used by many other build scripts.
Anonymous
Hi Onetake.
Thank you for your helpful suggestions re C++ Clipper. I'm currently totally focused on getting Clipper2 finished, so am reluctant to spend time changing to the existing Clipper package. Having said that, if you could email me your fully patched changes, I'd be happy to upload them. There have been other requests for changes to the C++ distribution (eg bugs #119 "install static libraries too"), so if you could attend to these too I'd be most grateful. I'm still very much a C++ newbie so I need help when it comes to Clipper's C++ packaging.
Last edit: Angus Johnson 2018-12-14