1From 8f5633a29b083a84876c00b88fba6d3e8dbbf1a8 Mon Sep 17 00:00:00 2001
2From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
3Date: Sun, 19 Jul 2020 09:35:09 +0200
4Subject: [PATCH] cmake: Build failure without a C++ compiler (again)
5
6avro-c fails to build (again) without a C++ compiler because commit
7664c2fc7fba19709c1f974055f9cf4c8a799e108 reverted the change made by
8commit 414a51fdc1856083bb16851f09a4c61a48796132
9
10Fixes:
11 - http://autobuild.buildroot.org/results/cfa91db53cf5502cbb6f902d1e7ad6397c8d70fd
12
13Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
14[Upstream status: https://issues.apache.org/jira/browse/AVRO-2898]
15---
16 CMakeLists.txt | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/CMakeLists.txt b/CMakeLists.txt
20index 6c8d7aaf..aa923e18 100644
21--- a/CMakeLists.txt
22+++ b/CMakeLists.txt
23@@ -17,7 +17,7 @@
24 # under the License.
25 #
26 cmake_minimum_required(VERSION 3.1)
27-project(AvroC)
28+project(AvroC C)
29 enable_testing()
30
31 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR})
32--
332.27.0
34
35