MattiaMontanari / openGJK

Fast and reliable implementation of the Gilbert-Johnson-Keerthi (GJK) algorithm for C, C#, Go, Matlab and Python
https://www.mattiamontanari.com/opengjk/
GNU General Public License v3.0
136 stars 37 forks source link

Installation script for Linux installing openGJK to /usr/local #7

Closed jorgensd closed 4 years ago

jorgensd commented 4 years ago

To be able to trying to integrate a prototype of FEniCSx with openGJK, it would be beneficial to have an install-script that does not require copy-paste of headers, and that the include files are stored somewhere central, like /usr/local.

MattiaMontanari commented 4 years ago

would this be ok?

install(TARGETS test DESTINATION /usr/local/lib/opengjk)
install(FILES opengjk.h DESTINATION /usr/local/lib/opengjk/include)