Protobuf module mode import for Windows build (#9447) accepted/tizen/unified/20191209.144032 submit/coverity/20191209.074934 submit/coverity/20191209.074953 submit/tizen/20191209.075212 submit/tizen/20191209.091506
author박천교/On-Device Lab(SR)/Engineer/삼성전자 <ch.bahk@samsung.com>
Mon, 9 Dec 2019 07:38:12 +0000 (16:38 +0900)
committerChunseok Lee <chunseok.lee@samsung.com>
Mon, 9 Dec 2019 07:48:47 +0000 (16:48 +0900)
commit684bd711fda718c02664103197c6ac7fdab00318
tree7e5edfa86792fcc474c980c62c07d1c557283b7d
parent8ef22054acea1281d72d7b9f91df7c028154182f
Protobuf module mode import for Windows build (#9447)

* Protobuf module mode import for Windows build

Windows native build only can import with legacy 'module' mode import.
This commit is to give a Windows build a way to import Protobuf. Note
that this will not affect existing default behavior.

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
* Move option to top

* USE_PROTOBUF_LEGACY_IMPORT

Change-Id: I8963f857a9b5be23fa7e958e25d1003a81444e28
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
infra/cmake/packages/ProtobufConfig.cmake
infra/nncc/CMakeLists.txt