Files
openvino/tests/time_tests/CMakeLists.txt
T
Vitaliy Urusovskij bfdd1a199f Develop installation rules for time and stress tests (#6649) (#6738)
* Develop installation rules for time and stress tests (#6649)

* Prepare `install` rule for time_tests

* Prepare `install` rule for stress tests

* Update path to `gflags`
2021-07-22 10:43:15 +03:00

26 lines
733 B
CMake

# Copyright (C) 2018-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
cmake_minimum_required(VERSION 3.13)
set (CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the build type")
project(time_tests)
set(OpenVINO_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../")
# Search OpenVINO Inference Engine installed
find_package(InferenceEngine)
if(NOT InferenceEngine_FOUND)
# Define directory where artifacts will be placed
set(OUTPUT_ROOT ${CMAKE_CURRENT_SOURCE_DIR})
# Search OpenVINO Inference Engine via InferenceEngineDeveloperPackage_DIR
# in order to provide backward compatibility with old OpenVINO packages
find_package(InferenceEngineDeveloperPackage REQUIRED)
endif()
add_subdirectory(src)