install static libraries too
Polygon and line clipping and offsetting library (C++, C#, Delphi)
Brought to you by:
angusj
hello,
in order to install static libraries,
the file cpp/CMakeLists.txt:26
INSTALL (TARGETS polyclipping LIBRARY DESTINATION lib RUNTIME DESTINATION bin)
must be changed to
INSTALL (TARGETS polyclipping ARCHIVE DESTINATION lib LIBRARY DESTINATION lib RUNTIME DESTINATION bin)
Anonymous
Thanks, this was very useful!
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
I've been through the process of building the static libraries and spent more than four hours googling for an answer to this problem. Finally, I found a webpage:
http://sideproject.acraig.za.net/2017/07/26/building-clipper-with-cmake/
(thanks to the author)
where this very same solution was proposed. And yes, it works.
I wonder how it is possible that a bug so simple to ammend is still present in the library.
Thanks, however, for the work. The library will be very useful for me.