diff options
author | Brad King <brad.king@kitware.com> | 2017-05-31 15:48:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-05-31 15:48:02 (GMT) |
commit | c5ff50fc19ac8393be3cad5f7c1578a6a8c64819 (patch) | |
tree | 5c844cc212e329aec00a5a94d78099f283c5b6a5 /Tests/CustomCommandByproducts | |
parent | e7d690492a0ef55709185e7ca7ede659a002530b (diff) | |
download | CMake-c5ff50fc19ac8393be3cad5f7c1578a6a8c64819.zip CMake-c5ff50fc19ac8393be3cad5f7c1578a6a8c64819.tar.gz CMake-c5ff50fc19ac8393be3cad5f7c1578a6a8c64819.tar.bz2 |
Tests: Fix CustomCommandByproducts regex for phony rules
Update the regex to match phony rules that have no inputs.
Diffstat (limited to 'Tests/CustomCommandByproducts')
-rw-r--r-- | Tests/CustomCommandByproducts/ninja-check.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CustomCommandByproducts/ninja-check.cmake b/Tests/CustomCommandByproducts/ninja-check.cmake index 2fc3cc2..a7beb3d 100644 --- a/Tests/CustomCommandByproducts/ninja-check.cmake +++ b/Tests/CustomCommandByproducts/ninja-check.cmake @@ -4,7 +4,7 @@ if("${build_ninja}" MATCHES [====[ # Tell Ninja that they may appear as side effects of build rules # otherwise ordered by order-only dependencies. -((build [^:]*: phony [^\n]* +((build [^:]*: phony[^\n]* )*)# ========]====]) set(phony "${CMAKE_MATCH_1}") if(NOT phony) |