diff options
author | Radek Podgorny <radek@podgorny.cz> | 2012-10-18 15:08:11 +0200 |
---|---|---|
committer | Radek Podgorny <radek@podgorny.cz> | 2012-10-18 15:08:11 +0200 |
commit | a752e9604e6139a5b14c4c7c84e6e4e36fa1898c (patch) | |
tree | 9698b053d94b6df0a01fd96895bdfd0b177cb852 | |
parent | fefa91bb563d1d0754cbcef6c147f20898a8f469 (diff) | |
download | unionfs-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.txt | 2 |
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) |