From 458bfd0f7a3620699736742553ea75a4cdd7a90a Mon Sep 17 00:00:00 2001 From: Vinay Sharma Date: Tue, 23 Apr 2019 00:19:17 +0530 Subject: [PATCH] fix(caffe): update root level CMakeLists.txt --- DeepLearningSuite/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DeepLearningSuite/CMakeLists.txt b/DeepLearningSuite/CMakeLists.txt index 96723540..7525de2d 100644 --- a/DeepLearningSuite/CMakeLists.txt +++ b/DeepLearningSuite/CMakeLists.txt @@ -92,10 +92,10 @@ endif() if(roscpp_FOUND) add_definitions(-DJDERROS) endif() -if(HAS_OPENCV_DNN) +if(OpenCV_FOUND) SET(ENABLE_DNN_CAFFE ON) add_definitions(-DENABLE_DNN_CAFFE) -endif(HAS_OPENCV_DNN) +endif(OpenCV_FOUND) add_subdirectory(libs) add_subdirectory(DeepLearningSuiteLib)