Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / samples / validation_app / CMakeLists.txt
index 898256e..87b337c 100644 (file)
@@ -1,9 +1,7 @@
-# Copyright (C) 2018 Intel Corporation
+# Copyright (C) 2018-2019 Intel Corporation
 # SPDX-License-Identifier: Apache-2.0
 #
 
-cmake_minimum_required(VERSION 2.8)
-
 set (TARGET_NAME "validation_app")
 
 file (GLOB MAIN_SRC
@@ -22,7 +20,7 @@ source_group("src" FILES ${MAIN_SRC})
 source_group("include" FILES ${MAIN_HEADERS})
 
 # Find OpenCV components if exist
-find_package(OpenCV COMPONENTS imgcodecs QUIET)
+find_package(OpenCV COMPONENTS imgcodecs imgproc QUIET)
 if(NOT(OpenCV_FOUND))
     message(WARNING "OPENCV is disabled or not found, " ${TARGET_NAME} " skipped")
     return()