From 437176f1ce4a0c7a8ca0465a027271d5515f4c5a Mon Sep 17 00:00:00 2001 From: LordGrey <48840279+Lord-Grey@users.noreply.github.com> Date: Sun, 23 Jul 2023 20:14:49 +0200 Subject: [PATCH] Add defines for 3rd party sub-modules used by protobuf --- dependencies/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dependencies/CMakeLists.txt b/dependencies/CMakeLists.txt index 858454ee..c13e96cc 100644 --- a/dependencies/CMakeLists.txt +++ b/dependencies/CMakeLists.txt @@ -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