mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-01-21 13:09:43 -03:00
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.
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user