When I build the InsightToolkit 4.13.2 release, the libraries that are created are labelled version 4.13.1.
Any idea what is going wrong ?
It seems at the cmake configuration stage the patch version number is not always being used to construct the expected file names.
Here is a small script to reproduce the issue.
#!/bin/sh
git clone -b release-4.13 https://github.com/InsightSoftwareConsortium/ITK
dest=`pwd`/dest
mkdir ${dest}
mkdir build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=${dest} \
-DBUILD_EXAMPLES:BOOL=OFF \
-DBUILD_TESTING:BOOL=OFF \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_CXX_FLAGS_RELEASE:STRING="-O3 -DNDEBUG" \
../ITK
make
exit 0
1 Like
@warfield thanks for the nice reproducible script.
The file names are currently created as intended:
[...]
libITKSpatialObjects-4.13.so
libITKSpatialObjects-4.13.so.1
[...]
To explain, the trailing .1
is always .1
and does not change with the patch version.