diff options
author | Brad King <brad.king@kitware.com> | 2020-01-27 18:23:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-01-27 18:26:40 (GMT) |
commit | 9d4883cce569ac4b8b334a797c7f31073a0b0f7e (patch) | |
tree | 791f741291ab47073f8da889ecd95d21b5dec8ea /Tests/RunCMake/Ninja | |
parent | f624b44524cdb3df0e85bd70679682169c55f1e5 (diff) | |
download | CMake-9d4883cce569ac4b8b334a797c7f31073a0b0f7e.zip CMake-9d4883cce569ac4b8b334a797c7f31073a0b0f7e.tar.gz CMake-9d4883cce569ac4b8b334a797c7f31073a0b0f7e.tar.bz2 |
Tests: Fix RunCMake.Ninja test for Ninja 1.10
With Ninja 1.10 we run the cleandead and recompact tools after
generation. These require that `build.ninja` be loadable. Update the
`CustomCommandJobPool` case to define the referenced job pools to make
`build.ninja` loadable.
Diffstat (limited to 'Tests/RunCMake/Ninja')
-rw-r--r-- | Tests/RunCMake/Ninja/CustomCommandJobPool.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/Ninja/CustomCommandJobPool.cmake b/Tests/RunCMake/Ninja/CustomCommandJobPool.cmake index 1e36e65..a96802a 100644 --- a/Tests/RunCMake/Ninja/CustomCommandJobPool.cmake +++ b/Tests/RunCMake/Ninja/CustomCommandJobPool.cmake @@ -1,3 +1,4 @@ +set_property(GLOBAL PROPERTY JOB_POOLS custom_command_pool=2 custom_target_pool=2) add_custom_command( OUTPUT hello.copy.c COMMAND "${CMAKE_COMMAND}" -E copy |