[Cmake-commits] CMake branch, next, updated. v2.8.6-1495-g1efa1d2

Stephen Kelly steveire at gmail.com
Wed Oct 5 09:04:23 EDT 2011


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  1efa1d2f4535434ea81e60be09bc44f0cb2c045a (commit)
       via  38db52d3eaacb41360653df226f6b6f55ce211d5 (commit)
      from  2b312da218a3e9ab41b0d27e169b7d78b42c397b (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=1efa1d2f4535434ea81e60be09bc44f0cb2c045a
commit 1efa1d2f4535434ea81e60be09bc44f0cb2c045a
Merge: 2b312da 38db52d
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Wed Oct 5 09:04:21 2011 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Oct 5 09:04:21 2011 -0400

    Merge topic 'cmake-link-interface-libraries' into next
    
    38db52d Fix build on non-GNU.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=38db52d3eaacb41360653df226f6b6f55ce211d5
commit 38db52d3eaacb41360653df226f6b6f55ce211d5
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Wed Oct 5 15:02:50 2011 +0200
Commit:     Stephen Kelly <steveire at gmail.com>
CommitDate: Wed Oct 5 15:02:50 2011 +0200

    Fix build on non-GNU.

diff --git a/Tests/CMakeCommands/target_link_libraries/src/CMakeLists.txt b/Tests/CMakeCommands/target_link_libraries/src/CMakeLists.txt
index 17c8844..9ac8727 100644
--- a/Tests/CMakeCommands/target_link_libraries/src/CMakeLists.txt
+++ b/Tests/CMakeCommands/target_link_libraries/src/CMakeLists.txt
@@ -2,5 +2,8 @@ cmake_minimum_required(VERSION 2.8)
 
 project(src)
 
-set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined")
+if (CMAKE_COMPILER_IS_GNUCXX)
+  set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined")
+endif()
+
 set(CMAKE_INCLUDE_CURRENT_DIR ON)

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

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


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list