valette / ACVD

Fast simplification of 3D surface meshes
https://www.creatis.insa-lyon.fr/~valette/public/project/acvd/
Other
266 stars 57 forks source link

fix install path for cmake files #5

Closed wadoon closed 10 years ago

wadoon commented 10 years ago

The installation path of FindXXX.cmake is absolute /usr/cmake-2.8/Modules/ without respecting ${CMAKE_INSTALL_PREFIX}. This leads to error if we want to make an installation with custom prefix and without root rights.

This patch corrects this, by introducing a variable INSTALL_CMAKE_DIR with default of lib/CMake/avcd taken from the cmake tutorial.

regards, Alexander

valette commented 10 years ago

Hi,

I will bindly trust you on that one,

Pulled, thanks!