cmake_minimum_required(版本3.17) 项目(Ejm8) 设置(CMAKE_CXX_STANDARD 14) #inicio set(CMAKE_CXX_FLAGS“ $ {CMAKE_CXX_FLAGS} -std = c ++ 11”) 设置(OpenCV_DIR“ C:\ openCV \ mingw-build \ install”) set(CMAKE_MODULE_PATH $ {CMAKE_MODULE_PATH}“ $ {CMAKE_SOURCE_DIR} / cmake /”) find_package(需要OpenCV) include_directo