https://github.com/GavinBarill/fast-winding-number-soups
Tip revision: ca7b4552c3265020f9c568fe90b38255a927f815 authored by Alec Jacobson on 19 December 2018, 16:48:27 UTC
revert; this made things worse on elf
revert; this made things worse on elf
Tip revision: ca7b455
FindLIBIGL.cmake
# - Try to find the LIBIGL library
# Once done this will define
#
# LIBIGL_FOUND - system has LIBIGL
# LIBIGL_INCLUDE_DIR - **the** LIBIGL include directory
if(LIBIGL_FOUND)
return()
endif()
find_path(LIBIGL_INCLUDE_DIR igl/readOBJ.h
PATHS
${CMAKE_SOURCE_DIR}/libigl/include
${CMAKE_SOURCE_DIR}/../libigl/include
${CMAKE_SOURCE_DIR}/../../libigl/include
PATH_SUFFIXES include
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(LIBIGL
"\nlibigl not found --- You can download it using:\n\tgit clone --recursive https://github.com/libigl/libigl.git ${CMAKE_SOURCE_DIR}/../libigl"
LIBIGL_INCLUDE_DIR)
mark_as_advanced(LIBIGL_INCLUDE_DIR)
list(APPEND CMAKE_MODULE_PATH "${LIBIGL_INCLUDE_DIR}/../cmake")
include(libigl)
