summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadek Podgorny <radek@podgorny.cz>2012-10-18 15:08:11 +0200
committerRadek Podgorny <radek@podgorny.cz>2012-10-18 15:08:11 +0200
commita752e9604e6139a5b14c4c7c84e6e4e36fa1898c (patch)
tree9698b053d94b6df0a01fd96895bdfd0b177cb852
parentfefa91bb563d1d0754cbcef6c147f20898a8f469 (diff)
downloadunionfs-fuse-a752e9604e6139a5b14c4c7c84e6e4e36fa1898c.tar.gz
Disable check for C++ compiler
By default, CMake assumes that a project uses both the C and C++ languages, and unionfs-fuse's CMakeLists.txt doesn't explicit which languages it uses. Therefore CMake checks for both a C compiler and a C++ compiler, which prevents from building unionfs-fuse on platforms that don't have a C++ compiler. We adjust unionfs-fuse CMakeLists.txt to explicity state that we only use the C language, so that the C++ compiler check is no longer performed by Cmake. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 54b13d0..4950aa0 100644
--- 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)