diff --git a/CMakeLists.txt b/CMakeLists.txt index 9daa492..2465a58 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,8 @@ set(main main.cc set(LOGC logc/log.c) set(TOML tomlc99/toml.c) +# 设置彩色日志输出 +add_definitions(-DLOG_USE_COLOR) # 查找并添加 OpenCV 的头文件目录 set(OpenCV_DIR ${CMAKE_SOURCE_DIR}/opencv-mobile-4.9.0-armlinux/lib/cmake/opencv4)