去除boost

main
wangchunlin 4 years ago
parent 60008acd7f
commit 0ac915ee18

@ -83,14 +83,6 @@ else ()
message(FATAL_ERROR "Could not locate OpenCV") message(FATAL_ERROR "Could not locate OpenCV")
endif() 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}")
include_directories("${PROJECT_SOURCE_DIR}/zlog_manager/") include_directories("${PROJECT_SOURCE_DIR}/zlog_manager/")
@ -99,7 +91,6 @@ include_directories("${EXTRA_INCS}")
add_executable (ImageDetect ImageDetect.cxx) add_executable (ImageDetect ImageDetect.cxx)
target_link_libraries (ImageDetect target_link_libraries (ImageDetect
${OpenCV_LIBS} ${OpenCV_LIBS}
${Boost_LIBRARIES}
pthread pthread
${EXTRA_LIBS} ${EXTRA_LIBS}
) )

Loading…
Cancel
Save