MantisBT - CMake
View Issue Details
0015851CMakeCMakepublic2015-11-18 21:472016-06-10 14:21
Aleix Pol 
Brad King 
normalmajoralways
closedfixed 
AndroidAndroid
CMake 3.4 
CMake 3.4.1CMake 3.4.1 
0015851: CMAKE_PLATFORM_NO_VERSIONED_SONAME is ignored
Since I got an update to cmake 3.4, my libraries are getting so-versioned.

I tried installing back 3.3.2 and it worked again.
cmake -DCMAKE_TOOLCHAIN_FILE=.../share/ECM/toolchain/Android.cmake ...

Make install on libraries, they will be soversioned.
Here's the Platform file source code:
https://quickgit.kde.org/?p=extra-cmake-modules.git&a=blob&h=81ded8f5d168cc157db5ef448a936dc006a97e17&f=toolchain%2FAndroid.cmake&o=plain [^]
No tags attached.
Issue History
2015-11-18 21:47Aleix PolNew Issue
2015-11-19 08:50Brad KingNote Added: 0039880
2015-11-19 08:50Brad KingAssigned To => Brad King
2015-11-19 08:50Brad KingStatusnew => assigned
2015-11-19 08:50Brad KingTarget Version => CMake 3.4.1
2015-11-19 08:56Brad KingNote Added: 0039881
2015-11-19 08:58Brad KingStatusassigned => resolved
2015-11-19 08:58Brad KingResolutionopen => fixed
2015-11-19 08:58Brad KingFixed in Version => CMake 3.4.1
2016-06-10 14:21Kitware RobotNote Added: 0041269
2016-06-10 14:21Kitware RobotStatusresolved => closed

Notes
(0039880)
Brad King   
2015-11-19 08:50   
It looks like the check of that variable was dropped accidentally by this commit:

 cmGeneratorTarget: Move GetLibraryNames from cmTarget.
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=766839c5 [^]
(0039881)
Brad King   
2015-11-19 08:56   
Fixed in 'master' here:

 Android: Restore generation of non-versioned soname
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4ba76026 [^]

Due to a conflict it has to be backported separately to 'release':

 Android: Restore generation of non-versioned soname
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3aec561a [^]

I've queued the latter for merge to 'release' for 3.4.1.
(0041269)
Kitware Robot   
2016-06-10 14:21   
This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.