From a64d694deda966d893cef469932a42582f18fada Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Tue, 14 Dec 2021 14:15:44 +0300 Subject: [PATCH] Fixed ARM Android build (#9205) --- src/common/low_precision_transformations/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/low_precision_transformations/CMakeLists.txt b/src/common/low_precision_transformations/CMakeLists.txt index 43a021723e5..88e632c6cc2 100644 --- a/src/common/low_precision_transformations/CMakeLists.txt +++ b/src/common/low_precision_transformations/CMakeLists.txt @@ -17,7 +17,7 @@ source_group("include" FILES ${PUBLIC_HEADERS}) # Create library -add_library(${TARGET_NAME} EXCLUDE_FROM_ALL +add_library(${TARGET_NAME} ${LIBRARY_SRC} ${PUBLIC_HEADERS}) @@ -48,8 +48,8 @@ openvino_developer_export_targets(COMPONENT core TARGETS ${TARGET_NAME}) if(BUILD_SHARED_LIBS) install(TARGETS ${TARGET_NAME} - RUNTIME DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT core OPTIONAL - LIBRARY DESTINATION ${IE_CPACK_LIBRARY_PATH} COMPONENT core OPTIONAL) + RUNTIME DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT core + LIBRARY DESTINATION ${IE_CPACK_LIBRARY_PATH} COMPONENT core) else() - ov_install_static_lib(${TARGET_NAME} core OPTIONAL) + ov_install_static_lib(${TARGET_NAME} core) endif()