1 By default, CMake assumes a project uses the C and C++ languages, so
2 it checks for both the C and the C++ compiler to exist.
4 However, unionfs-fuse is written purely in C, so checking for a C++
5 compiler is useless, and even prevents unionfs-fuse from building
6 properly on targets for which no C++ compiler is available.
8 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 Index: b/CMakeLists.txt
11 ===================================================================
15 -project(unionfs-fuse)
16 +project(unionfs-fuse C)
18 cmake_minimum_required(VERSION 2.0)
19 INCLUDE (CheckIncludeFiles)