On Linux with CMake, I am creating the libIex-2_0.so.10.0.1 shared library
ADD_LIBRARY (Iex SHARED [*.cpp] ) SET_TARGET_PROPERTIES(Iex PROPERTIES OUTPUT_NAME "Iex-2_0")
Version 10.0.1 installed with a call
SET_TARGET_PROPERTIES ( Iex PROPERTIES VERSION 10.0.1 SOVERSION 10 )
In the installation folder, these links are created
libIex-2_0.so -> libIex-2_0.so.10 libIex-2_0.so.10 -> libIex-2_0.so.10.0.1 libIex-2_0.so.10.0.1
However, in order to match previous builds done with a different build system, I need to add an outdated symlink, splitting the suffix 2_0:
libIex.so -> libIex-2_0.so.10.0.1
What will be the CMake way to create such a link?
source share