From 62652955cb12017505c3a87e931ce17f0e4e6d47 Mon Sep 17 00:00:00 2001 From: vonhyou Date: Thu, 1 Feb 2024 18:57:27 -0500 Subject: [PATCH] seprate eigen3 config in cmake --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a67b4ab..801846f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,10 +26,12 @@ set(CMAKE_BUILD_TYPE Debug) set(CMAKE_CXX_STANDARD 14) -# Configure Eigen +# Configure eigen3 for pipeline set(ENV{EIGEN3_ROOT} /usr/include/eigen3/Eigen) find_package(Eigen3 REQUIRED) include_directories(${EIGEN3_INCLUDE_DIR}) + +# Configure eigen3 for local machine include_directories(/usr/include/eigen3) # These folders include some important header files including the header files for your own solution