写一个能编译evaluate_object_3d.cpp的CMakeLists.txt
时间: 2024-05-09 11:17:14 浏览: 95
CMakeLists.txt
5星 · 资源好评率100%
好的,下面是一个能编译evaluate_object_3d.cpp的CMakeLists.txt示例:
```
cmake_minimum_required(VERSION 3.5)
project(EvaluateObject3D)
set(CMAKE_CXX_STANDARD 11)
find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})
add_executable(evaluate_object_3d evaluate_object_3d.cpp)
target_link_libraries(evaluate_object_3d ${OpenCV_LIBS})
```
请问还有其他问题吗?
阅读全文