From 0ac915ee18e24fe16a0085d7f2e580977d606dc1 Mon Sep 17 00:00:00 2001 From: wangchunlin Date: Fri, 25 Feb 2022 15:00:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4boost?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ImageDetect/CMakeLists.txt | 9 --------- 1 file changed, 9 deletions(-) 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} )