1From 61f9440dfeacad517965451773371aca0332d700 Mon Sep 17 00:00:00 2001
2From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3Date: Tue, 5 Jan 2021 23:08:53 +0100
4Subject: [PATCH] CMakeLists.txt: project only contains C code
5
6Make sure CMake doesn't check for a C++ compiler when it's not needed,
7as open62541 is in C.
8
9Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
10---
11 CMakeLists.txt | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/CMakeLists.txt b/CMakeLists.txt
15index 94ceb127..acc41ab2 100644
16--- a/CMakeLists.txt
17+++ b/CMakeLists.txt
18@@ -1,5 +1,5 @@
19 cmake_minimum_required(VERSION 3.0...3.12)
20-project(open62541)
21+project(open62541 C)
22 # set(CMAKE_VERBOSE_MAKEFILE ON)
23 if(${CMAKE_VERSION} VERSION_LESS 3.12)
24     cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
25--
262.29.2
27
28