This commit is contained in:
2020-07-14 17:03:11 +08:00
parent bb686e4c20
commit 24b4bc79b9
16 changed files with 3 additions and 8 deletions

2
CMakeLists.txt Executable file → Normal file
View File

@@ -6,8 +6,6 @@ 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})