cmake: use add_dependencies instead of DEPENDS argument of add_custom_target Older cmake can't cope with target dependencies defined with the DEPENDS argument. Use add_dependencies which should be more compatible.
View Diff