Menu

#119 install static libraries too

*
open
nobody
None
1
2018-02-23
2014-12-23
Michel Zou
No

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)

Discussion

  • Richard

    Richard - 2016-07-14

    Thanks, this was very useful!

     
  • Anonymous

    Anonymous - 2018-02-23

    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.

     

Anonymous
Anonymous

Add attachments
Cancel