From 6494506cd70905f179e742a31dea05bdd28f93a0 Mon Sep 17 00:00:00 2001 From: Paulchen-Panther <16664240+Paulchen-Panther@users.noreply.github.com> Date: Wed, 12 Jun 2024 23:58:47 +0200 Subject: [PATCH] Windows Fix? --- libsrc/protoserver/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libsrc/protoserver/CMakeLists.txt b/libsrc/protoserver/CMakeLists.txt index a463f53c..d79e4a26 100644 --- a/libsrc/protoserver/CMakeLists.txt +++ b/libsrc/protoserver/CMakeLists.txt @@ -1,3 +1,5 @@ +add_compile_definitions("_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR") + # set and compile proto schema set(ProtoServer_PROTOS ${CMAKE_SOURCE_DIR}/libsrc/protoserver/message.proto) protobuf_generate_cpp(ProtoServer_PROTO_SRCS ProtoServer_PROTO_HDRS ${ProtoServer_PROTOS})