Fixed python test_utils compilation for clang-12 (#5362)

This commit is contained in:
Ilya Lavrenov 2021-04-23 16:34:26 +03:00 committed by GitHub
parent 59a001580f
commit 0a8c3ef5a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,8 @@ else()
list(APPEND InferenceEngine_LIBRARIES IE::commonTestUtils) list(APPEND InferenceEngine_LIBRARIES IE::commonTestUtils)
endif() endif()
target_include_directories(${TARGET_NAME} PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/../inference_engine") target_include_directories(${TARGET_NAME} PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}")
target_include_directories(${TARGET_NAME} SYSTEM PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/../inference_engine")
target_link_libraries(${TARGET_NAME} PRIVATE ${InferenceEngine_LIBRARIES}) target_link_libraries(${TARGET_NAME} PRIVATE ${InferenceEngine_LIBRARIES})
# Compatibility with python 2.7 which has deprecated "register" specifier # Compatibility with python 2.7 which has deprecated "register" specifier