alecjacobson / gptoolbox

Matlab toolbox for Geometry Processing.
MIT License
629 stars 169 forks source link

Added second place to look for libigl.cmake #77

Closed maxfrei750 closed 6 years ago

maxfrei750 commented 6 years ago

The libigl team recently restructured their module. Therefore libigl.cmake no longer resides in ${LIBIGL_INCLUDE_DIR}/../shared/cmake. It is now located in ${LIBIGL_INCLUDE_DIR}/../cmake. To maintain compatibility with old versions, I just added list(APPEND CMAKE_MODULE_PATH "${LIBIGL_INCLUDE_DIR}/../cmake"), so it should work with the recent version as well as the legacy version of libigl.

maxfrei750 commented 6 years ago

Fixes issue #76.