diff options
author | Brad King <brad.king@kitware.com> | 2015-07-13 12:51:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-13 12:51:06 (GMT) |
commit | b3a405badd88bb5c19ad4032e92284057f3cf916 (patch) | |
tree | 0b3bac7ab9cc53ce09006d6e1e375eb04f2fd174 /Tests | |
parent | 13f5f066ff0cd004b74b10550237749984189b72 (diff) | |
parent | d4f032b5460afce396dcc5ce3b0af9eb0619812b (diff) | |
download | CMake-b3a405badd88bb5c19ad4032e92284057f3cf916.zip CMake-b3a405badd88bb5c19ad4032e92284057f3cf916.tar.gz CMake-b3a405badd88bb5c19ad4032e92284057f3cf916.tar.bz2 |
Merge branch 'fix-command-rename' into release
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Complex/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/Complex/CMakeLists.txt b/Tests/Complex/CMakeLists.txt index 5e5eead..9251ff3 100644 --- a/Tests/Complex/CMakeLists.txt +++ b/Tests/Complex/CMakeLists.txt @@ -4,6 +4,13 @@ cmake_minimum_required(VERSION 2.4) project (Complex) +# Test that renaming a built-in works when configured multiple times. +message("message") +function(message) + _message(${ARGN}) +endfunction() +message("message") + # Try setting a new policy. The IF test is for coverage. if(POLICY CMP0003) cmake_policy(SET CMP0003 NEW) |