From eedee51b93de25de76f542e481355dd7de28d75f Mon Sep 17 00:00:00 2001 From: Sintendo <3380580+Sintendo@users.noreply.github.com> Date: Sat, 17 Jan 2026 18:25:22 +0100 Subject: [PATCH] Fix MacUpdater build on CMake 3.31+ Building on macOS with a recent CMake version would result in the following error: CMake Error at Source/Core/MacUpdater/CMakeLists.txt:48 (add_custom_command): The following keywords are not supported when using add_custom_command(TARGET): DEPENDS As it turns out, this form of `add_custom_command` does not accept DEPENDS, but versions of CMake prior to 3.31 silently dropped it. --- Source/Core/MacUpdater/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/Core/MacUpdater/CMakeLists.txt b/Source/Core/MacUpdater/CMakeLists.txt index df46f90a86..98ee4d78f7 100644 --- a/Source/Core/MacUpdater/CMakeLists.txt +++ b/Source/Core/MacUpdater/CMakeLists.txt @@ -47,7 +47,6 @@ foreach(sb ${STORYBOARDS}) set(input ${CMAKE_CURRENT_SOURCE_DIR}/${sb}) add_custom_command(TARGET MacUpdater POST_BUILD COMMAND ${IBTOOL} --errors --warnings --notices --output-format human-readable-text --compile ${output} ${input} - DEPENDS ${input} COMMENT "Compiling Storyboard ${sb}...") endforeach()