mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
14 lines
330 B
Diff
14 lines
330 B
Diff
|
|
diff --git a/cmake/Config.cmake.in b/cmake/Config.cmake.in
|
||
|
|
index 338ff8500..0b738ea3c 100644
|
||
|
|
--- a/cmake/Config.cmake.in
|
||
|
|
+++ b/cmake/Config.cmake.in
|
||
|
|
@@ -28,7 +28,7 @@ if(@GTSAM_USE_TBB@)
|
||
|
|
endif()
|
||
|
|
|
||
|
|
if(@GTSAM_USE_SYSTEM_EIGEN@)
|
||
|
|
-find_dependency(Eigen3 REQUIRED)
|
||
|
|
+find_dependency(Eigen3 REQUIRED CONFIG)
|
||
|
|
endif()
|
||
|
|
|
||
|
|
# Load exports
|