Don't use template plugin unconditionally (#11409)

This commit is contained in:
Ilya Lavrenov
2022-04-02 11:40:45 +03:00
committed by GitHub
parent 4fcc18c00e
commit 29fb8c79b1

View File

@@ -450,7 +450,7 @@ if (ENABLE_INTEL_GPU AND ENABLE_OV_CORE_BACKEND_UNIT_TESTS)
endif()
endif()
if (ENABLE_OV_CORE_BACKEND_UNIT_TESTS)
if (ENABLE_TEMPLATE AND ENABLE_OV_CORE_BACKEND_UNIT_TESTS)
message(STATUS "OV_CORE_TESTS: INTERPRETER enabled")
set(ACTIVE_BACKEND_LIST ${ACTIVE_BACKEND_LIST} INTERPRETER)
if (ENABLE_STRICT_DEPENDENCIES)