Skip to content
Snippets Groups Projects
Commit f1c3c6c2 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Fix CMakeLists.txt

parent 699fb081
No related branches found
No related tags found
No related merge requests found
...@@ -47,12 +47,11 @@ set(PROJECT_URL "http://github.com/humanoid-path-planner/hpp-fcl") ...@@ -47,12 +47,11 @@ set(PROJECT_URL "http://github.com/humanoid-path-planner/hpp-fcl")
setup_project() setup_project()
set(FCL_HAVE_SSE FALSE CACHE BOOL "Enable SSE vectorization") set(FCL_HAVE_SSE FALSE CACHE BOOL "Enable SSE vectorization")
set(FCL_HAVE_EIGEN FALSE CACHE BOOL "Use eigen wrappers")
set(FCL_USE_NATIVE_EIGEN FALSE CACHE BOOL "Use native eigen matrix type when possible") set(FCL_USE_NATIVE_EIGEN FALSE CACHE BOOL "Use native eigen matrix type when possible")
add_optional_dependency("eigen3 >= 3.0.0") add_optional_dependency("eigen3 >= 3.0.0")
set(FCL_HAVE_EIGEN EIGEN3_FOUND CACHE BOOL "Use eigen wrappers")
if (EIGEN3_FOUND) if (EIGEN3_FOUND)
set (FCL_HAVE_EIGEN TRUE)
if (FCL_HAVE_EIGEN) if (FCL_HAVE_EIGEN)
include_directories(${EIGEN3_INCLUDE_DIRS}) include_directories(${EIGEN3_INCLUDE_DIRS})
endif (FCL_HAVE_EIGEN) endif (FCL_HAVE_EIGEN)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment