Commit 28335f47 authored by David Bommes's avatar David Bommes
Browse files

use Eigen3 with CGAL if available

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16925 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 68a87449
......@@ -89,6 +89,12 @@ ELSE(CGAL_INCLUDE_DIR )
SET(CGAL_INCLUDE_DIR)
ENDIF(CGAL_INCLUDE_DIR )
#use eigen if available
find_package(EIGEN3)
if ( EIGEN3_FOUND )
add_definitions(-DCGAL_EIGEN3_ENABLED)
endif()
# Report the results.
IF(NOT CGAL_FOUND)
SET(CGAL_DIR_MESSAGE
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment