Added error message if cmake is run from IE root (#3707)
This commit is contained in:
parent
65b2447d36
commit
5b26a7fcb1
@ -1,8 +1,13 @@
|
||||
# Copyright (C) 2018-2020 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
project(InferenceEngine)
|
||||
|
||||
if(CMAKE_SOURCE_DIR STREQUAL "${InferenceEngine_SOURCE_DIR}")
|
||||
message(FATAL_ERROR "Cmake source directory must point to <openvino_root>")
|
||||
endif()
|
||||
|
||||
include(cmake/features.cmake)
|
||||
|
||||
# resolving dependencies for the project
|
||||
|
Loading…
Reference in New Issue
Block a user