From 040947ba2b23361d51d9abd20b7b27a49c1c2712 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Mon, 10 Jan 2022 10:45:30 +0100 Subject: [PATCH] CMake: Add language C to project() It seems this is sometimes needed because we are using C libs? --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 03891ace..bb43a0d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ cmake_minimum_required(VERSION 3.5.0 FATAL_ERROR) #----------------------------------------------------------------------------- -project(protozero VERSION 1.7.0 LANGUAGES CXX) +project(protozero VERSION 1.7.0 LANGUAGES CXX C) set(CMAKE_EXPORT_COMPILE_COMMANDS ON)