Skip to content
Snippets Groups Projects
Commit 7ff6fbe3 authored by Fabian Reister's avatar Fabian Reister
Browse files

fixing cmake: eigen

parent 0ca04660
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,10 @@ armarx_component_set_name("EarlyVisionGraph")
find_package(Eigen3 QUIET)
armarx_build_if(Eigen3_FOUND "Eigen3 not available")
set(COMPONENT_LIBS
Eigen3::Eigen
)
set(SOURCES
./MathTools.cpp
./SphericalGraph.cpp
......@@ -26,6 +30,5 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 ")
armarx_add_component("${SOURCES}" "${HEADERS}")
if(Eigen3_FOUND)
target_include_directories(EarlyVisionGraph SYSTEM PUBLIC ${Eigen3_INCLUDE_DIR})
target_include_directories(EarlyVisionGraph SYSTEM PUBLIC ${Eigen3_INCLUDE_DIRS})
endif()
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