Skip to content
Snippets Groups Projects
Commit 307e9eb5 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

cmake - silence cmake warning

DEPENDS is not accepted for TARGET in add_custom_command (CMP0175)

Behavior in old cmake: just ignore DEPENDS
Behavior starting from cmake 3.30: warn
The fix: remove DEPENDS

TARGET form requires exactly one of PRE_BUILD, PRE_LINK or POST_BUILD to be given (CMP0175)

Behavior in old CMAKE: assume POST_BUILD
Behavior starting from cmake 3.30: assume POST_BUILD but warn
The fix: explicitely set POST_BUILD
parent d9e43493
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment