Incorrect flag name in CeresConfig.cmake
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceres-solver (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
1. Description: Ubuntu 20.04.5 LTS
Release: 20.04
2. libceres-dev 1.14.0-4ubuntu1.1
3. Expected cmake project to build and find_package() to work
4. find_package() failed
The error that is thrown is below:
Found installed version of Eigen: /usr/lib/
-- Found required Ceres dependency: Eigen version 3.3.7 in /usr/include/eigen3
-- Found required Ceres dependency: glog
CMake Error at /usr/lib/
Failed to find Ceres - Missing required Ceres dependency: gflags. Searched
using GFLAGS_
/usr/
Call Stack (most recent call first):
/usr/
CMakeLists.txt:46 (find_package)
To fix this in /usr/lib/
I added an issue to the ceres-solver github as well.
https:/ /github. com/ceres- solver/ ceres-solver/ issues/ 946