Add defines for 3rd party sub-modules used by protobuf

This commit is contained in:
LordGrey 2023-07-23 20:14:49 +02:00
parent e07a5e52dd
commit 437176f1ce
1 changed files with 4 additions and 0 deletions

View File

@ -160,6 +160,10 @@ if(ENABLE_PROTOBUF_SERVER)
# define the protobuf library
set(PROTOBUF_LIBRARIES protobuf::libprotobuf)
# defines for 3rd party sub-modules
set(ABSL_PROPAGATE_CXX_STD ON CACHE BOOL "Build abseil-cpp with C++ version requirements propagated")
endif()
# redefine at parent scope