diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2015-02-03 14:52:07 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2015-02-03 14:52:56 +0100 |
commit | 298cd8eaa21a21eee85f9551a26ad294347b1d5a (patch) | |
tree | 249fa33b66f65e6daffdbfc8ca2e5399e8d89e61 /package/libwebsockets/0001-cmake-set-the-project-language.patch | |
parent | dd798a45c571063595c45278e28ed4f614f2cf32 (diff) | |
download | buildroot-298cd8eaa21a21eee85f9551a26ad294347b1d5a.tar.gz buildroot-298cd8eaa21a21eee85f9551a26ad294347b1d5a.zip |
package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345)
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libwebsockets/0001-cmake-set-the-project-language.patch')
-rw-r--r-- | package/libwebsockets/0001-cmake-set-the-project-language.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/package/libwebsockets/0001-cmake-set-the-project-language.patch b/package/libwebsockets/0001-cmake-set-the-project-language.patch new file mode 100644 index 0000000000..7b017a7257 --- /dev/null +++ b/package/libwebsockets/0001-cmake-set-the-project-language.patch @@ -0,0 +1,34 @@ +From 6ab441e0509a9fda179fd1febf73d0f9fae321d6 Mon Sep 17 00:00:00 2001 +From: Samuel Martin <s.martin49@gmail.com> +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 <s.martin49@gmail.com> +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index f1b6ace..72391b0 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,6 +1,6 @@ + cmake_minimum_required(VERSION 2.6) + +-project(libwebsockets) ++project(libwebsockets C) + + set(PACKAGE "libwebsockets") + set(CPACK_PACKAGE_NAME "${PACKAGE}") +-- +1.9.2 + |