Skip to content

Commit

Permalink
Mark mbusd as a pure C project (#109)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mwalle authored Jul 19, 2024
1 parent 2c462b7 commit f013ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit f013ed1

Please sign in to comment.