From patchwork Sun Oct 14 09:35:38 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 191338 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id ADE0E2C0094 for ; Sun, 14 Oct 2012 20:37:32 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B6900101A8C; Sun, 14 Oct 2012 09:37:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YQ94RRFXGToX; Sun, 14 Oct 2012 09:37:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id B4A71101A47; Sun, 14 Oct 2012 09:37:18 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 3CA438F74B for ; Sun, 14 Oct 2012 09:37:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6157025658 for ; Sun, 14 Oct 2012 09:37:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zs8HOplZYfAJ for ; Sun, 14 Oct 2012 09:37:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [88.190.12.23]) by silver.osuosl.org (Postfix) with ESMTP id 172E425E76 for ; Sun, 14 Oct 2012 09:37:18 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id B4C3117B; Sun, 14 Oct 2012 11:36:59 +0200 (CEST) Received: from localhost (humanoidz.org [82.247.183.72]) by mail.free-electrons.com (Postfix) with ESMTPSA id E40B1153; Sun, 14 Oct 2012 11:36:52 +0200 (CEST) MIME-Version: 1.0 X-Mercurial-Node: e33fa7a0d77ca247f73db7f36722261319521951 Message-Id: In-Reply-To: References: User-Agent: Mercurial-patchbomb/2.0.2 Date: Sun, 14 Oct 2012 11:35:38 +0200 From: Thomas Petazzoni To: radek@podgorny.cz Cc: unionfs-fuse@googlegroups.com, buildroot@uclibc.org Subject: [Buildroot] [PATCH 1 of 1] Disable check for C++ compiler X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net # HG changeset patch # User Thomas Petazzoni # Date 1350206855 -7200 # Node ID e33fa7a0d77ca247f73db7f36722261319521951 # Parent 6f2b87c8b1f3bf88e9d0a75191e4f8efb1bcc791 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 diff -r 6f2b87c8b1f3 -r e33fa7a0d77c CMakeLists.txt --- a/CMakeLists.txt Wed Sep 26 15:55:52 2012 +0200 +++ b/CMakeLists.txt Sun Oct 14 11:27:35 2012 +0200 @@ -1,4 +1,4 @@ -project(unionfs-fuse) +project(unionfs-fuse C) cmake_minimum_required(VERSION 2.0) INCLUDE (CheckIncludeFiles)