1cmake_minimum_required(VERSION 3.4.1) 2 3include( ../protobuf.cmake ) 4 5include_directories(${PROTOBUF_NANO_SRC_DIR}) 6 7add_library( protobuf-nano_static 8 STATIC ${PROTOBUF_NANO_SRCS}) 9 10add_library( protobuf-nano 11 SHARED ${PROTOBUF_NANO_SRCS}) 12 13extra_pb_nano_link_options(protobuf-nano) 14