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  978c911411d6dcb6a5263e7c11e816b3ac5cfcb7 (commit)
       via  877abf576624b8c5d4bb41c61a0c21591d7da263 (commit)
      from  1efa1d2f4535434ea81e60be09bc44f0cb2c045a (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=978c911411d6dcb6a5263e7c11e816b3ac5cfcb7
commit 978c911411d6dcb6a5263e7c11e816b3ac5cfcb7
Merge: 1efa1d2 877abf5
Author:     Stephen Kelly <[email protected]>
AuthorDate: Wed Oct 5 09:15:29 2011 -0400
Commit:     CMake Topic Stage <[email protected]>
CommitDate: Wed Oct 5 09:15:29 2011 -0400

    Merge topic 'cmake-link-interface-libraries' into next
    
    877abf5 Test for features, not platforms.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=877abf576624b8c5d4bb41c61a0c21591d7da263
commit 877abf576624b8c5d4bb41c61a0c21591d7da263
Author:     Stephen Kelly <[email protected]>
AuthorDate: Wed Oct 5 15:14:31 2011 +0200
Commit:     Stephen Kelly <[email protected]>
CommitDate: Wed Oct 5 15:14:31 2011 +0200

    Test for features, not platforms.

diff --git a/Tests/CMakeCommands/target_link_libraries/src/CMakeLists.txt 
b/Tests/CMakeCommands/target_link_libraries/src/CMakeLists.txt
index 9ac8727..8b510fc 100644
--- a/Tests/CMakeCommands/target_link_libraries/src/CMakeLists.txt
+++ b/Tests/CMakeCommands/target_link_libraries/src/CMakeLists.txt
@@ -2,7 +2,11 @@ cmake_minimum_required(VERSION 2.8)
 
 project(src)
 
-if (CMAKE_COMPILER_IS_GNUCXX)
+include(CheckCXXCompilerFlag)
+
+check_cxx_compiler_flag(-Wl,--no-undefined HAS_NO_UNDEFINED)
+
+if (HAS_NO_UNDEFINED)
   set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined")
 endif()
 

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

Summary of changes:
 .../target_link_libraries/src/CMakeLists.txt       |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake
_______________________________________________
Cmake-commits mailing list
[email protected]
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits

Reply via email to