From 824a7fed75e15b9a4cb5961593bcc46e45a79559 Mon Sep 17 00:00:00 2001 From: Robert Edmonds Date: Sat, 8 Jul 2023 23:15:14 -0400 Subject: [PATCH] cmake: Remove BUILD_PROTO3, HAVE_PROTO3 --- build-cmake/CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/build-cmake/CMakeLists.txt b/build-cmake/CMakeLists.txt index 379dd1a..6dbf193 100644 --- a/build-cmake/CMakeLists.txt +++ b/build-cmake/CMakeLists.txt @@ -9,7 +9,6 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.10 FATAL_ERROR) PROJECT(protobuf-c) #options -option(BUILD_PROTO3 "BUILD_PROTO3" ON) option(BUILD_PROTOC "Build protoc-gen-c" ON) if(CMAKE_BUILD_TYPE MATCHES Debug) option(BUILD_TESTS "Build tests" ON) @@ -73,9 +72,6 @@ endif (MSVC AND NOT BUILD_SHARED_LIBS) FIND_PACKAGE(Protobuf REQUIRED) INCLUDE_DIRECTORIES(${PROTOBUF_INCLUDE_DIR}) -if (BUILD_PROTO3) - ADD_DEFINITIONS(-DHAVE_PROTO3) -endif() ENDIF() if (MSVC AND NOT BUILD_SHARED_LIBS)