cmake config broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceres-solver (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
It is not possible to use libceres with cmake.
Using this minimal example:
CMakeLists.txt:
FIND_PACKAGE(Ceres REQUIRED)
Produces this error:
$ cmake -DCMAKE_
CMake Error at /usr/lib/
Failed to find Ceres - Ceres install root: /usr/lib, determined from
relative path from CeresConfig.cmake install location:
/usr/
directory was deleted, or the install tree was only partially relocated
outside of CMake after Ceres was built.
Call Stack (most recent call first):
/usr/
CMakeLists.txt:1 (FIND_PACKAGE)
CMake Error at CMakeLists.txt:1 (FIND_PACKAGE):
Found package configuration file:
/usr/
but it set Ceres_FOUND to FALSE so package "Ceres" is considered to be NOT
FOUND.
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_
cmake_
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
See also "/home/
Changed in ceres-solver (Ubuntu): | |
status: | New → Confirmed |
Changed in ceres-solver (Ubuntu): | |
importance: | Undecided → Low |
tags: | added: verification-needed |
tags: |
added: verification-done removed: verification-needed |
Changed in ceres-solver (Ubuntu): | |
status: | In Progress → Fix Released |
Please state the package version.