* [tf2tflite] make proto sources shared
This commit changes proto sources from STATIC to SHARED.
Signed-off-by: seongwoo <sw4670.chae@samsung.com>
* add install command
"./proto"
CustomOpInfo.proto)
-add_library(tf2tflite_customop_info_proto STATIC ${CUSTOMOP_INFO_PROTO_SOURCES})
+add_library(tf2tflite_customop_info_proto SHARED ${CUSTOMOP_INFO_PROTO_SOURCES})
set_target_properties(tf2tflite_customop_info_proto PROPERTIES POSITION_INDEPENDENT_CODE ON)
target_include_directories(tf2tflite_customop_info_proto PUBLIC ${CUSTOMOP_INFO_PROTO_INCLUDE_DIRS})
target_link_libraries(tf2tflite_customop_info_proto PUBLIC libprotobuf)
+install(TARGETS tf2tflite_customop_info_proto DESTINATION lib)
file(GLOB_RECURSE SOURCES "src/*.cpp")