[Cmake-commits] CMake branch, next, updated. v3.1.0-rc1-421-g79e64b7

Brad King brad.king at kitware.com
Fri Nov 7 10:37:52 EST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  79e64b74686c57e1fc74536a1b3909994c2eaf9a (commit)
       via  53686e766b2fd0ec2d1d9ef7e2a6313c86b4b3f5 (commit)
      from  095040877ea8ef3bc7d4342332edd33088ce5746 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=79e64b74686c57e1fc74536a1b3909994c2eaf9a
commit 79e64b74686c57e1fc74536a1b3909994c2eaf9a
Merge: 0950408 53686e7
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Fri Nov 7 10:37:51 2014 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Nov 7 10:37:51 2014 -0500

    Merge topic 'update-curl' into next
    
    53686e76 curl: Disable warnings to avoid changing 3rd party code


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=53686e766b2fd0ec2d1d9ef7e2a6313c86b4b3f5
commit 53686e766b2fd0ec2d1d9ef7e2a6313c86b4b3f5
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Fri Nov 7 10:36:06 2014 -0500
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Fri Nov 7 10:36:06 2014 -0500

    curl: Disable warnings to avoid changing 3rd party code

diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt
index cdd4996..ef8edd6 100644
--- a/Utilities/cmcurl/CMakeLists.txt
+++ b/Utilities/cmcurl/CMakeLists.txt
@@ -36,6 +36,14 @@ if(WIN32)
   set(HAVE_INET_PTON 0 CACHE INTERNAL "Do not use inet_pton")
 endif()
 
+# Disable warnings to avoid changing 3rd party code.
+if(CMAKE_C_COMPILER_ID MATCHES
+    "^(GNU|Clang|AppleClang|XL|VisualAge|SunPro|MIPSpro|HP|Intel)$")
+  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w")
+elseif(CMAKE_C_COMPILER_ID STREQUAL "PathScale")
+  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -woffall")
+endif()
+
 #***************************************************************************
 #                                  _   _ ____  _
 #  Project                     ___| | | |  _ \| |

-----------------------------------------------------------------------

Summary of changes:
 Utilities/cmcurl/CMakeLists.txt |    8 ++++++++
 1 file changed, 8 insertions(+)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list