Sophus: Sophus如何在CMake中使用?
## Sophus
C++ implementation of Lie Groups using Eigen: https://strasdat.github.io/Sophus/
## CMakeLists.txt Example
```cmake
cmake_minimum_required(VERSION 3.0)
project(useSophus)
add_executable(useSophus useSophus.cpp)
target_link_libraries(useSophus
Sophus::Sophus
)
```
- cmake 版本配置在3.0或以上
- 添加依赖库 Sophus::Sophus
## References
- ·[CMake find_package() problems #247](https://github.com/strasdat/Sophus/issues/247)
![yubao_blog_cover](https://raw.githubusercontent.com/yubaoliu/assets/image/yubao_blog_cover.png)
No comments