analogdevicesinc / gr-iio

IIO blocks for GNU Radio
GNU General Public License v3.0
94 stars 62 forks source link

CMakeLists.txt: Fix the .so/.dylib displayed version for gr-iio libs. #86

Closed AlexandraTrifan closed 4 years ago

AlexandraTrifan commented 4 years ago

The GR_LIBRARY_FOO function sets the target properties to LIBVER and VERSION which are not defined inside gr-iio. Those versions represent the GNURadio version (3.8.0). This leads to wrong library suffixes.

Links between installed gr-iio libraries: Before: libgnuradio-iio.so -> libgnuradio-iio.so... libgnuradio-iio.so... -> libgnuradio-iio.so.... libgnuradio-iio.so....

After: libgnuradio-iio.so -> libgnuradio-iio.so.0 libgnuradio-iio.so.0 -> libgnuradio-iio.so.0.3 libgnuradio-iio.so.0.3

Signed-off-by: AlexandraTrifan Alexandra.Trifan@analog.com