# demo2 add_executable(opencv_demo3 opencv_demo3.cpp) # 链接 OpenCV 库 target_link_libraries(opencv_demo3 ${OpenCV_LIBS})