From 0342e32abff1a4563e43e6eed4f5ad7399bc40c8 Mon Sep 17 00:00:00 2001 From: bitbrain-za Date: Wed, 3 Jun 2020 18:11:02 +0200 Subject: [PATCH] Update CMakeLists.txt --- sample/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sample/CMakeLists.txt b/sample/CMakeLists.txt index 36aafe3..dcdd880 100644 --- a/sample/CMakeLists.txt +++ b/sample/CMakeLists.txt @@ -9,7 +9,7 @@ set (SAMPLE_INCLUDE_PATH "${SAMPLE_PATH}/include") find_package(OpenCV REQUIRED) set(Boost_USE_STATIC_LIBS ON) -FIND_PACKAGE(Boost 1.58 COMPONENTS filesystem timer REQUIRED) +FIND_PACKAGE(Boost 1.58 REQUIRED COMPONENTS filesystem timer system) #set includes include_directories ( @@ -42,7 +42,8 @@ target_link_libraries ( ${OpenCV_LIBRARIES} ${Boost_LIBRARIES} ${MTCNN_LIB_NAME} - ${LINK_OPTIONS}) + ${LINK_OPTIONS} + Boost::system) #test enable_testing ()