b513dc232edd8f538abed48bad2dbcb6c954a6a2
[platform/upstream/dldt.git] / inference-engine / src / hetero_plugin / CMakeLists.txt
1 # Copyright (C) 2018-2020 Intel Corporation
2 # SPDX-License-Identifier: Apache-2.0
3 #
4
5 set (TARGET_NAME "HeteroPlugin")
6
7 if(ENABLE_LTO)
8     ie_enable_lto()
9 endif()
10
11 file(GLOB SOURCES
12     ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp
13 )
14
15 file(GLOB_RECURSE HEADERS
16         ${CMAKE_CURRENT_SOURCE_DIR}/*.hpp)
17
18 ie_add_plugin(NAME ${TARGET_NAME}
19               DEVICE_NAME "HETERO"
20               SOURCES ${SOURCES} ${HEADERS}
21               VERSION_DEFINES_FOR hetero_plugin.cpp)
22
23 target_link_libraries(${TARGET_NAME} PRIVATE inference_engine ade pugixml ${NGRAPH_LIBRARIES} inference_engine_transformations)