Skip to content

Commit b082a85

Browse files
Export openvino_npu_driver_compiler_adapter
Signed-off-by: Kang, Wenjing <wenjing.kang@intel.com>
1 parent 1ffd794 commit b082a85

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/plugins/intel_npu/src/compiler_adapter/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ file(GLOB_RECURSE SOURCES *.cpp *.hpp *.h)
88
source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR} FILES ${SOURCES})
99

1010
add_library(${TARGET_NAME} STATIC ${SOURCES})
11+
add_library(openvino::npu_compiler_adapter ALIAS ${TARGET_NAME})
12+
set_target_properties(${TARGET_NAME} PROPERTIES EXPORT_NAME npu_compiler_adapter)
1113

1214
ov_build_target_faster(${TARGET_NAME}
1315
PCH_HEADER "src/precomp.hpp"
@@ -32,3 +34,6 @@ target_link_libraries(${TARGET_NAME}
3234
# targets install
3335
#
3436
ov_install_static_lib(${TARGET_NAME} ${NPU_INTERNAL_COMPONENT})
37+
ov_developer_package_export_targets(TARGET openvino::npu_compiler_adapter
38+
INSTALL_INCLUDE_DIRECTORIES
39+
${CMAKE_CURRENT_SOURCE_DIR}/include/)

0 commit comments

Comments
 (0)