cmake_minimum_required(VERSION 3.20)
project(image_demo)
set(CMAKE_CXX_STANDARD 17)
find_package(OpenCV REQUIRED)
messag(STATUS "OpenCV found: ${OpenCV_INCLUDE_DIRS}")
include_directories(${OpenCV_INCLUDE_DIRS})
add_executable(image_demo image_brightness.cpp)
target_link_libraries(image_demo ${OpenCV_LIBS})