-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Description
I've changed the CMakeLists.txt file to the following:
cmake_minimum_required(VERSION 3.16)
project(example)
list(PREPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
# Libigl
SET(LIBIGL_GLFW ON CACHE BOOL "Build target igl::glfw" FORCE)
SET(LIBIGL_COPYLEFT_CGAL ON CACHE BOOL "Build target igl_copyleft::cgal" FORCE)
include(libigl)
# Add your project files
file(GLOB SRC_FILES *.cpp)
add_executable(${PROJECT_NAME} ${SRC_FILES})
target_link_libraries(${PROJECT_NAME} PUBLIC igl::core igl::glfw igl_copyleft::cgal)
This will fail with the classic Eigen error YOU_MIXED_DIFFERENT_NUMERIC_TYPES__YOU_NEED_TO_USE_THE_CAST_METHOD_OF_MATRIXBASE_TO_CAST_NUMERIC_TYPES_EXPLICITLY all over the place.
Any ideas?
Metadata
Metadata
Assignees
Labels
No labels