[Cmake-commits] CMake branch, next, updated. v2.8.12.2-7359-gd0c830b

Nils Gladitz nilsgladitz at gmail.com
Sat Feb 1 03:54:40 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  d0c830be7619c64e0f1a16e5ce32848038ce9e0f (commit)
       via  700e28e034c61a82f546519a385ffc565a0b656b (commit)
      from  a5f7a74e3edd1dacddad9525e2de1baaacb0dce7 (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=d0c830be7619c64e0f1a16e5ce32848038ce9e0f
commit d0c830be7619c64e0f1a16e5ce32848038ce9e0f
Merge: a5f7a74 700e28e
Author:     Nils Gladitz <nilsgladitz at gmail.com>
AuthorDate: Sat Feb 1 03:54:39 2014 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Sat Feb 1 03:54:39 2014 -0500

    Merge topic 'fix-visibility-inlines-hidden' into next
    
    700e28e0 VisibilityInlinesHidden: restrict test to gcc >= 4.2


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=700e28e034c61a82f546519a385ffc565a0b656b
commit 700e28e034c61a82f546519a385ffc565a0b656b
Author:     Nils Gladitz <nilsgladitz at gmail.com>
AuthorDate: Sat Feb 1 09:52:50 2014 +0100
Commit:     Nils Gladitz <nilsgladitz at gmail.com>
CommitDate: Sat Feb 1 09:52:50 2014 +0100

    VisibilityInlinesHidden: restrict test to gcc >= 4.2

diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 17fbc59..2807f97 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -400,8 +400,9 @@ if(BUILD_TESTING)
     ADD_TEST_MACRO(PositionIndependentTargets PositionIndependentTargets)
   endif()
 
-  if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" AND
-    CMAKE_SYSTEM_NAME MATCHES "Linux")
+  if((CMAKE_CXX_COMPILER_ID MATCHES "GNU") AND
+    (NOT "${CMAKE_CXX_COMPILER_VERSION}" VERSION_LESS 4.2) AND
+    (CMAKE_SYSTEM_NAME MATCHES "Linux"))
 
     include(CheckCXXCompilerFlag)
     check_cxx_compiler_flag(

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

Summary of changes:
 Tests/CMakeLists.txt |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list