diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2021-04-16 12:39:23 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2021-04-17 09:05:26 (GMT) |
commit | 253aff6c94401f468ea8f9c953d325c5a8c72eb0 (patch) | |
tree | eb747d684e3e544ea2350f58bad201e8a028b90f /Tests/RunCMake/BuildDepends | |
parent | 94fb2516f00fe345326f6a82dc41f2236c481ed3 (diff) | |
download | CMake-253aff6c94401f468ea8f9c953d325c5a8c72eb0.zip CMake-253aff6c94401f468ea8f9c953d325c5a8c72eb0.tar.gz CMake-253aff6c94401f468ea8f9c953d325c5a8c72eb0.tar.bz2 |
Xcode: Add support of DEPFILE for add_custom_command, part 2
This MR extend the support of 'DEPFILE' to buildsystem version 1.
Issue: #20286
Diffstat (limited to 'Tests/RunCMake/BuildDepends')
-rw-r--r-- | Tests/RunCMake/BuildDepends/RunCMakeTest.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake b/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake index a6e08da..72faddb 100644 --- a/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake +++ b/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake @@ -155,8 +155,7 @@ if (RunCMake_GENERATOR MATCHES "Makefiles") run_cmake(CustomCommandDependencies-BadArgs) endif() -if(RunCMake_GENERATOR MATCHES "Make|Ninja" OR - (RunCMake_GENERATOR STREQUAL "Xcode" AND CMAKE_XCODE_BUILD_SYSTEM GREATER_EQUAL "12")) +if(RunCMake_GENERATOR MATCHES "Make|Ninja|Xcode") unset(run_BuildDepends_skip_step_3) run_BuildDepends(CustomCommandDepfile) set(run_BuildDepends_skip_step_3 1) |