aboutsummaryrefslogtreecommitdiff
path: root/package/unionfs/0001-fuse-no-cxx-needed.patch
blob: 56f7e2455b1f9e44e81bcdb9262052a4f609656a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
By default, CMake assumes a project uses the C and C++ languages, so
it checks for both the C and the C++ compiler to exist.

However, unionfs-fuse is written purely in C, so checking for a C++
compiler is useless, and even prevents unionfs-fuse from building
properly on targets for which no C++ compiler is available.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Index: b/CMakeLists.txt
===================================================================
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-project(unionfs-fuse)
+project(unionfs-fuse C)
 
 cmake_minimum_required(VERSION 2.0)
 INCLUDE (CheckIncludeFiles)