update

Co-Authored-By: Chris Kong <609027949@qq.com>
This commit is contained in:
2020-06-14 01:44:48 +08:00
parent efcfcff635
commit bb686e4c20
3 changed files with 8 additions and 3 deletions

View File

@@ -6,6 +6,8 @@ set(QMAKE_CXXFLAGS "-std=c++11")
find_package(OpenCV REQUIRED)
#set(CMAKE_BUILD_TYPE Debug)
AUX_SOURCE_DIRECTORY(./src DIR_SRCS)
add_executable(main ${DIR_SRCS})
#windows下为了自动找到opencv 需要添加环境变量OpenCV_DIR D:/opencv/build/
target_link_libraries(main ${OpenCV_LIBS})