dust3d/thirdparty/cgal/CGAL-5.1/cmake/modules/UseEigen3.cmake

12 lines
404 B
CMake
Raw Normal View History

# This module setups the compiler for using Eigen v3 library.
# It assumes that find_package(Eigen3) was already called.
include_directories( SYSTEM ${EIGEN3_INCLUDE_DIR} )
add_definitions(-DCGAL_EIGEN3_ENABLED)
set (EIGEN3_SETUP TRUE)
2020-10-13 12:44:25 +00:00
message(DEPRECATION "This file UseEigen.cmake is deprecated, and the imported target `CGAL::Eigen_support` from CGAL_Eigen_support.cmake should be used instead.")