[Cmake-commits] CMake branch, next, updated. v3.0.0-4465-g07a2eb5

Brad King brad.king at kitware.com
Wed Jul 23 11:55:02 EDT 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  07a2eb5d4fb3988bf61c71bad00636464a736e4a (commit)
       via  96e815146d6b185fcd0d024ee03ced59e6789341 (commit)
      from  4d5b9cedbbfc835801712143fd4b87da729dbdea (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=07a2eb5d4fb3988bf61c71bad00636464a736e4a
commit 07a2eb5d4fb3988bf61c71bad00636464a736e4a
Merge: 4d5b9ce 96e8151
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Wed Jul 23 11:55:01 2014 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Jul 23 11:55:01 2014 -0400

    Merge topic 'add-liblzma' into next
    
    96e81514 liblzma: Disable warnings to avoid changing 3rd party code


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=96e815146d6b185fcd0d024ee03ced59e6789341
commit 96e815146d6b185fcd0d024ee03ced59e6789341
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Wed Jul 23 11:55:25 2014 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Wed Jul 23 11:55:25 2014 -0400

    liblzma: Disable warnings to avoid changing 3rd party code

diff --git a/Utilities/cmliblzma/CMakeLists.txt b/Utilities/cmliblzma/CMakeLists.txt
index 85efa8c..fc50dbe 100644
--- a/Utilities/cmliblzma/CMakeLists.txt
+++ b/Utilities/cmliblzma/CMakeLists.txt
@@ -190,6 +190,16 @@ INCLUDE_DIRECTORIES(
   "${CMLIBLZMA_BINARY_DIR}"
   )
 
+# 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}" MATCHES "^(PathScale)$")
+  SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -woffall")
+ELSEIF(BORLAND)
+  SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w-")
+ENDIF()
+
 ADD_LIBRARY(cmliblzma ${LZMA_SRCS})
 
 INSTALL(FILES COPYING DESTINATION ${CMAKE_DOC_DIR}/cmliblzma)

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

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


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list