Return-Path: X-Original-To: apmail-qpid-commits-archive@www.apache.org Delivered-To: apmail-qpid-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9B8589D14 for ; Wed, 22 May 2013 19:24:31 +0000 (UTC) Received: (qmail 93809 invoked by uid 500); 22 May 2013 19:24:31 -0000 Delivered-To: apmail-qpid-commits-archive@qpid.apache.org Received: (qmail 93708 invoked by uid 500); 22 May 2013 19:24:30 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 93677 invoked by uid 99); 22 May 2013 19:24:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 May 2013 19:24:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 May 2013 19:24:27 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 356B6238897A; Wed, 22 May 2013 19:24:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1485352 - /qpid/proton/trunk/tests/tools/apps/c/CMakeLists.txt Date: Wed, 22 May 2013 19:24:06 -0000 To: commits@qpid.apache.org From: kgiusti@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130522192406.356B6238897A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: kgiusti Date: Wed May 22 19:24:05 2013 New Revision: 1485352 URL: http://svn.apache.org/r1485352 Log: NO-JIRA: fix cmake windows build Modified: qpid/proton/trunk/tests/tools/apps/c/CMakeLists.txt Modified: qpid/proton/trunk/tests/tools/apps/c/CMakeLists.txt URL: http://svn.apache.org/viewvc/qpid/proton/trunk/tests/tools/apps/c/CMakeLists.txt?rev=1485352&r1=1485351&r2=1485352&view=diff ============================================================================== --- qpid/proton/trunk/tests/tools/apps/c/CMakeLists.txt (original) +++ qpid/proton/trunk/tests/tools/apps/c/CMakeLists.txt Wed May 22 19:24:05 2013 @@ -23,8 +23,10 @@ CHECK_INCLUDE_FILES("inttypes.h" INTTYPE if (INTTYPES_AVAILABLE) list(APPEND PLATFORM_DEFINITIONS "USE_INTTYPES") else (INTTYPES_AVAILABLE) - # since inttypes.h provides portable printf format macros - set (COMPILE_WARNING_FLAGS "${COMPILE_WARNING_FLAGS} -Wno-format") + if (CMAKE_COMPILER_IS_GNUCC) + # since inttypes.h provides portable printf format macros + set (COMPILE_WARNING_FLAGS "${COMPILE_WARNING_FLAGS} -Wno-format") + endif (CMAKE_COMPILER_IS_GNUCC) endif (INTTYPES_AVAILABLE) add_executable(msgr-recv msgr-recv.c msgr-common.c) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org