File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ if(VPR20_FOUND OR VPR22_FOUND)
6565endif ()
6666find_package (GMTL)
6767find_package (OpenSceneGraph)
68+ find_package (Eigen3)
6869
6970set (Boost_USE_STATIC_LIBS ON )
7071find_package (Boost COMPONENTS thread date_time chrono system )
Original file line number Diff line number Diff line change 55message (STATUS "" )
66message (STATUS "Bundled third-party code:" )
77
8- message (STATUS "Using Eigen 3.2.2" )
9- list (APPEND THIRD_PARTY_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR} /eigen" ) # for Eigen
10-
8+ if (Eigen3_FOUND)
9+ list (APPEND THIRD_PARTY_INCLUDE_DIRS "${EIGEN3_INCLUDE_DIR} " ) # for Eigen
10+ else ()
11+ message (STATUS "Using Eigen 3.2.2" )
12+ list (APPEND THIRD_PARTY_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR} /eigen" ) # for Eigen
13+ endif ()
1114# Loki lib SVN https://loki-lib.svn.sourceforge.net/svnroot/loki-lib/trunk@1081
1215message (STATUS "Using Loki template library r1081" )
1316list (APPEND THIRD_PARTY_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR} /loki-lib" )
You can’t perform that action at this time.
0 commit comments