Fixde tests on Windows

This commit is contained in:
Ilya Lavrenov 2022-07-16 18:56:58 +08:00
parent 16dc4d8bc0
commit b0f15a8513
2 changed files with 3 additions and 3 deletions

View File

@ -29,12 +29,12 @@ macro(ov_cpack_set_dirs)
set(OV_CPACK_LIBRARYDIR runtime/lib/${ARCH_FOLDER}/$<CONFIG>)
set(OV_CPACK_RUNTIMEDIR runtime/bin/${ARCH_FOLDER}/$<CONFIG>)
set(OV_CPACK_ARCHIVEDIR runtime/lib/${ARCH_FOLDER}/$<CONFIG>)
set(OV_CPACK_PLUGINSDIR runtime/lib/${ARCH_FOLDER}/$<CONFIG>)
set(OV_CPACK_PLUGINSDIR ${OV_CPACK_RUNTIMEDIR})
else()
set(OV_CPACK_LIBRARYDIR runtime/lib/${ARCH_FOLDER})
set(OV_CPACK_RUNTIMEDIR runtime/lib/${ARCH_FOLDER})
set(OV_CPACK_ARCHIVEDIR runtime/lib/${ARCH_FOLDER})
set(OV_CPACK_PLUGINSDIR runtime/lib/${ARCH_FOLDER})
set(OV_CPACK_PLUGINSDIR ${OV_CPACK_RUNTIMEDIR})
endif()
# for BW compatibility

View File

@ -123,7 +123,7 @@ if(BUILD_SHARED_LIBS)
# for InferenceEngineUnitTest
# For public tests
install(FILES $<TARGET_FILE_DIR:${TARGET_NAME}>/plugins.xml
DESTINATION tests COMPONENT tests EXCLUDE_FROM_ALL)
DESTINATION tests COMPONENT tests EXCLUDE_FROM_ALL)
# For private tests
if (NOT WIN32)
install(FILES $<TARGET_FILE_DIR:${TARGET_NAME}>/plugins.xml