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 commitr14.1.xe22f5ace4a
. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commite1b441631c
)
parent
6d754b3d8e
commit
353adbbaf5
Loading…
Reference in New Issue