Ceres: Using Ceres with CMake

Share:
## Using Ceres with CMake ```cmake cmake_minimum_required(VERSION 2.8) project(helloworld) find_package(Ceres REQUIRED) include_directories(${CERES_INCLUDE_DIRS}) # helloworld add_executable(helloworld helloworld.cc) target_link_libraries(helloworld ${CERES_LIBRARIES}) ``` ## References - Ceres solver: http://ceres-solver.org/installation.html#using-ceres-with-cmake ![yubao_blog_cover](https://raw.githubusercontent.com/yubaoliu/assets/image/yubao_blog_cover.png)

No comments