Use CMake command create_symlink instead of calling ls -s,
because it is resistant to repeated calls.
This solves FTBFS with CMake >= 3.11, because in the case of update
a library file, as a result of a tdelfeditor call, this will cause
repeated calls for targets that are dependent on the library.
As a result, it is now possible to use call based on POST_BUILD,
and there is no need to distinguish the way of calling created in
the commit e22f5ace4a
.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
master
parent
3d5ccbd203
commit
e1b441631c
Loading…
Reference in New Issue