--- armnn-19.08.orig/tests/CMakeLists.txt 2019-10-17 09:11:02.836949176 +0200 +++ armnn-19.08/tests/CMakeLists.txt 2019-10-17 09:10:50.384869262 +0200 @@ -1,6 +1,3 @@ -find_package( OpenCV REQUIRED ) -include_directories( ${OpenCV_INCLUDE_DIRS} ) - # UnitTests include(CheckIncludeFiles) @@ -368,6 +365,9 @@ if(BUILD_ARMNN_QUANTIZER) endif() if (BUILD_ARMNN_EXAMPLES) + find_package( OpenCV REQUIRED ) + include_directories( ${OpenCV_INCLUDE_DIRS} ) + set(ArmnnExamples_sources ArmnnExamples/ArmnnExamples.cpp)