diff --git a/ImageDetect/CMakeLists.txt b/ImageDetect/CMakeLists.txt index 2f0afd6..b80c509 100644 --- a/ImageDetect/CMakeLists.txt +++ b/ImageDetect/CMakeLists.txt @@ -83,14 +83,6 @@ else () message(FATAL_ERROR "Could not locate OpenCV") endif() -# Try to find Boost -find_package(Boost COMPONENTS program_options filesystem REQUIRED) -if(Boost_FOUND) - include_directories(${Boost_INCLUDE_DIRS}) -else () - message(FATAL_ERROR "Could not locate Boost") -endif() - # 头文件路径 include_directories ("${PROJECT_SOURCE_DIR}") include_directories("${PROJECT_SOURCE_DIR}/zlog_manager/") @@ -99,7 +91,6 @@ include_directories("${EXTRA_INCS}") add_executable (ImageDetect ImageDetect.cxx) target_link_libraries (ImageDetect ${OpenCV_LIBS} - ${Boost_LIBRARIES} pthread ${EXTRA_LIBS} )