cgal/Installation/cmake/modules/UseEigen3.cmake

12 lines
406 B
CMake

# 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)
message(DEPRECATION "This file UseEigen.cmake is deprecated, and the imported target `CGAL::Eigen3_support` from CGAL_Eigen3_support.cmake should be used instead.")