cmake: unbundled protobuf: don't expect old c++ API by default

Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
This commit is contained in:
Konstantin Podshumok 2020-08-21 14:39:05 +03:00
parent 5d13c1f03f
commit 8479da3033
No known key found for this signature in database
GPG Key ID: 7EA5D4784D5BB847

View File

@ -1,5 +1,5 @@
if (ENABLE_PROTOBUF AND NOT USE_INTERNAL_PROTOBUF_LIBRARY) if (ENABLE_PROTOBUF AND NOT USE_INTERNAL_PROTOBUF_LIBRARY)
option(PROTOBUF_OLD_ABI_COMPAT "Set to ON for compatiability with external protobuf which was compiled old C++ ABI" ON) option(PROTOBUF_OLD_ABI_COMPAT "Set to ON for compatiability with external protobuf which was compiled old C++ ABI" OFF)
endif() endif()
if (PROTOBUF_OLD_ABI_COMPAT) if (PROTOBUF_OLD_ABI_COMPAT)