From c72a50ee2c588e011081b64a82f53d87577364db Mon Sep 17 00:00:00 2001 From: Michael Walle Date: Fri, 12 Jul 2024 23:47:31 +0200 Subject: [PATCH] Mark mbusd as a pure C project Otherwise cmake configuration might fail if there is no C++ compiler: CMake Error at CMakeLists.txt:3 (project): No CMAKE_CXX_COMPILER could be found. Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0cc360b..931912a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.2) -project(mbusd VERSION 0.5.2) +project(mbusd VERSION 0.5.2 LANGUAGES C) list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/extern_GPL) include(CheckFunctionExists)