Subject: [PATCH] cmake: set the project language
authorSamuel Martin <s.martin49@gmail.com>
Fri, 2 May 2014 12:24:58 +0000 (14:24 +0200)
committerAndy Green <andy.green@linaro.org>
Thu, 27 Nov 2014 01:14:31 +0000 (09:14 +0800)
commita11a28278f7df0527b138c7063145d63bf99fdc8
treece3b8b7fabca49a2e120c100d203b4b5b9322471
parent2a5ec139efcdbcc263d1c19592196ac70f9a6731
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 <s.martin49@gmail.com>
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
CMakeLists.txt