From 3799b1a166f59706143aa7c61c212062211224ea Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Tue, 15 Oct 2024 09:36:23 -0700 Subject: [PATCH] Fix build failures with protobuf-c --- .codelite/neko-player-someone.tags | Bin 98304 -> 98304 bytes CMakeLists.txt | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.codelite/neko-player-someone.tags b/.codelite/neko-player-someone.tags index 5254ea5370d4c0bab2f14637bcd303c95d507b94..db051cd141d2ea45ac4bd878e467603796f4edeb 100644 GIT binary patch delta 39 vcmZo@U~6b#n;^~DF;T{uv7<3zYXW0$JY(VZckzsZ0*r;*5*YvUGZq2>3$hJ9 delta 39 vcmZo@U~6b#n;^~DHc`fzv8^#-YXW0$JY)X$ckzsZ0*v|F5*YvUGv)&T3la@9 diff --git a/CMakeLists.txt b/CMakeLists.txt index 047fa15..dd38c7d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -221,10 +221,10 @@ macro(prefix_all) endmacro() include(FetchContent) -execute_process(COMMAND patch -u -Np1 -i ${CMAKE_SOURCE_DIR}/protobuf_c_optional-1.patch WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/subprojects/protobuf-c/) -set(BUILD_PROTOC ON CACHE BOOL "" FORCE) -set(BUILD_TESTS OFF CACHE BOOL "" FORCE) -add_subdirectory(${CMAKE_SOURCE_DIR}/subprojects/protobuf-c/build-cmake) +#execute_process(COMMAND patch -u -Np1 -i ${CMAKE_SOURCE_DIR}/protobuf_c_optional-1.patch WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/subprojects/protobuf-c/) +#set(BUILD_PROTOC ON CACHE BOOL "" FORCE) +#set(BUILD_TESTS OFF CACHE BOOL "" FORCE) +#add_subdirectory(${CMAKE_SOURCE_DIR}/subprojects/protobuf-c/build-cmake) if(BUILD_PROTOBUF) set(_PROTOBUF_LIBPROTOBUF protobuf::libprotobuf) else()