Align logic and feature flag name (#6107)

This commit is contained in:
Konstantin Satunin
2021-06-09 18:52:44 +03:00
committed by GitHub
parent f4ba0f28a9
commit ec1134532a
5 changed files with 6 additions and 5 deletions

View File

@@ -286,7 +286,7 @@ set_source_files_properties(includes.cpp PROPERTIES COMPILE_DEFINITIONS
if (ENABLE_MKL_DNN)
message(STATUS "NGRAPH_TESTS: IE:CPU enabled")
set(ACTIVE_BACKEND_LIST ${ACTIVE_BACKEND_LIST} "IE:CPU")
if (NOT ENABLE_STRICT_DEPENDENCIES)
if (ENABLE_STRICT_DEPENDENCIES)
# For convinience add a runtime dependency to build along with this target.
# Warning: Parallel build with -GNinja may not be efficient.
list(APPEND UNIT_TESTS_DEPENDENCIES MKLDNNPlugin)
@@ -296,7 +296,7 @@ endif()
if (ENABLE_CLDNN)
message(STATUS "NGRAPH_TESTS: IE:GPU enabled")
set(ACTIVE_BACKEND_LIST ${ACTIVE_BACKEND_LIST} "IE:GPU")
if (NOT ENABLE_STRICT_DEPENDENCIES)
if (ENABLE_STRICT_DEPENDENCIES)
# For convinience add a runtime dependency to build along with this target.
# Warning: Parallel build with -GNinja may not be efficient.
list(APPEND UNIT_TESTS_DEPENDENCIES clDNNPlugin)