danfis / libccd

Library for collision detection between two convex shapes
Other
504 stars 111 forks source link

Fix pkgconfig file with absolute CMAKE_INSTALL_*DIR #76

Open lopsided98 opened 3 years ago

lopsided98 commented 3 years ago

The CMAKE_INSTALL_*DIR variables are allowed to be absolute paths, but the pkgconfig file template assumes they are relative. This is a common problem, and the fix is described here: https://github.com/jtojnar/cmake-snips#concatenating-paths-when-building-pkg-config-files