Commit 3a7228d3 authored by Jan Möbius's avatar Jan Möbius

Work without Eigen3

parent ed76d2cf
Pipeline #8270 passed with stage
in 50 minutes and 47 seconds
...@@ -20,13 +20,16 @@ if ( OPENMESH_BUILD_UNIT_TESTS ) ...@@ -20,13 +20,16 @@ if ( OPENMESH_BUILD_UNIT_TESTS )
find_package(EIGEN3) find_package(EIGEN3)
# Set correct include paths so that the compiler can find the headers # Set correct include paths so that the compiler can find the headers
include_directories(${GTEST_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIR}) include_directories(${GTEST_INCLUDE_DIRS} )
# set additional link directories # set additional link directories
link_directories(${GTEST_LIBRARY_DIR} ) link_directories(${GTEST_LIBRARY_DIR} )
if (EIGEN3_FOUND) if (EIGEN3_FOUND)
add_definitions( -DENABLE_EIGEN3_TEST ) add_definitions( -DENABLE_EIGEN3_TEST )
include_directories(${EIGEN3_INCLUDE_DIR})
endif() endif()
if ( CMAKE_GENERATOR MATCHES "^Visual Studio 11.*" ) if ( CMAKE_GENERATOR MATCHES "^Visual Studio 11.*" )
......
Markdown is supported
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