# demo3 add_executable(opencv_demo1 opencv_demo1.cpp) # 链接 OpenCV 库 target_link_libraries(opencv_demo1 ${OpenCV_LIBS})