Fixed python test_utils compilation for clang-12 (#5362)
This commit is contained in:
parent
59a001580f
commit
0a8c3ef5a9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user