summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2022-08-07 11:34:19 +0200
committerFabrice Fontaine <fontaine.fabrice@gmail.com>2022-08-07 11:36:27 +0200
commit059f67459912bba6d7f605b7c43519ff547f3a80 (patch)
tree7b04869daec801a11d62060a07787d275f769ff3
parentd2cd3d36c353fee578f752c4e65a8c1efcee002c (diff)
CMakeLists.txt: fix build without C++
Fix the following build failure without C++: 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. Fixes: - http://autobuild.buildroot.org/results/17e2d6e6d6ddf7845a37a8bbf733faf40d9faa61 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d3d4fcd..3b2cb3e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.10)
-project(mbw VERSION 1.5)
+project(mbw VERSION 1.5 LANGUAGES C)
add_executable(mbw mbw.c)
install(TARGETS mbw DESTINATION bin)