From ce23e74fce7ba3d4cd79d86be20bb40e664734d3 Mon Sep 17 00:00:00 2001 From: Samuel Martin Date: Fri, 2 May 2014 14:24:58 +0200 Subject: [PATCH] cmake: set the project language By default, CMake sets C and C++ as languages used by the project. This makes the configuration failed if no C++ compiler is found. Since libwesockets in written in pure C, no C++, there is no reason to disable it when the toolchain has no C++ support. This patch just make the CMake code reflecting the real status of the project with regard to the languages used. Signed-off-by: Samuel Martin Signed-off-by: Christoph Muellner --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dbf7ba792..7b9b420b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 2.8) -project(libwebsockets) +project(libwebsockets C) set(PACKAGE "libwebsockets") set(CPACK_PACKAGE_NAME "${PACKAGE}")