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 c25e5d9602611e102b312090853d2b8dad1f4486 (commit) via 79db9af5834da222b6800431c3d2b7ae5d8f11bd (commit) from cc49b6138acbab19d8a2ac08d3f4e54bf84d7d8f (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=c25e5d9602611e102b312090853d2b8dad1f4486 commit c25e5d9602611e102b312090853d2b8dad1f4486 Merge: cc49b61 79db9af Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Thu Aug 1 06:09:56 2013 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Thu Aug 1 06:09:56 2013 -0400 Merge topic 'ALIAS-targets' into next 79db9af Test that if(TARGET) works for aliases. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=79db9af5834da222b6800431c3d2b7ae5d8f11bd commit 79db9af5834da222b6800431c3d2b7ae5d8f11bd Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Thu Aug 1 12:09:10 2013 +0200 Commit: Stephen Kelly <steve...@gmail.com> CommitDate: Thu Aug 1 12:09:10 2013 +0200 Test that if(TARGET) works for aliases. diff --git a/Tests/AliasTarget/CMakeLists.txt b/Tests/AliasTarget/CMakeLists.txt index 653d789..2b53eb5 100644 --- a/Tests/AliasTarget/CMakeLists.txt +++ b/Tests/AliasTarget/CMakeLists.txt @@ -18,3 +18,7 @@ add_executable(PREFIX::AliasTarget ALIAS AliasTarget) add_library(bat SHARED bat.cpp) target_link_libraries(bat PREFIX::Foo) + +if (NOT TARGET Another::Alias) + message(SEND_ERROR "Another::Alias is not considered a target.") +endif() ----------------------------------------------------------------------- Summary of changes: Tests/AliasTarget/CMakeLists.txt | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) hooks/post-receive -- CMake _______________________________________________ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits