Skip to content

Commit

Permalink
Use local eigen version for ceres
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Jun 29, 2024
1 parent 9d71d5d commit 768687e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SuperBuild/cmake/External-Ceres.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ set(_proj_name ceres)
set(_SB_BINARY_DIR "${SB_BINARY_DIR}/${_proj_name}")

ExternalProject_Add(${_proj_name}
DEPENDS gflags
DEPENDS gflags eigen34
PREFIX ${_SB_BINARY_DIR}
TMP_DIR ${_SB_BINARY_DIR}/tmp
STAMP_DIR ${_SB_BINARY_DIR}/stamp
Expand All @@ -20,6 +20,7 @@ ExternalProject_Add(${_proj_name}
-DBUILD_TESTING=OFF
-DMINIGLOG=ON
-DMINIGLOG_MAX_LOG_LEVEL=-100
-DEigen3_DIR=${SB_SOURCE_DIR}/eigen34/cmake/
-DCMAKE_INSTALL_PREFIX:PATH=${SB_INSTALL_DIR}
${WIN32_CMAKE_ARGS}
#--Build step-----------------
Expand Down

0 comments on commit 768687e

Please sign in to comment.