MantisBT - CMake
View Issue Details
0015613CMakeCPackpublic2015-06-12 15:022016-06-10 14:31
Xiaoming Wang 
Kitware Robot 
normalminoralways
closedmoved 
OS XOS X10.4.10
CMake 3.2.2 
 
0015613: Package generated by CPack/PackageMaker display incorrect version with pkgutil
CPACK_PACKAGE_VERSION is correctly set in CPackConfig.cmake but when the package is installed on OS X 10.10.x and 10.9.x, etc (doesn't matter which version OS X) pkgutil show the package version is "1.0" which is incorrect.
Just normal cmake/cpack configuration, i.e. CPACK_BINARY_PACKAGEMAKER is ON, CPACK_PACKAGE_VERSION is defined.
No tags attached.
Issue History
2015-06-12 15:02Xiaoming WangNew Issue
2015-06-15 08:43Brad KingNote Added: 0038922
2015-10-14 14:35Xiaoming WangNote Added: 0039603
2015-10-14 15:37Brad KingNote Added: 0039604
2016-06-10 14:29Kitware RobotNote Added: 0042794
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0038922)
Brad King   
2015-06-15 08:43   
For reference, a related fix was first included in CMake 3.1:

 CPack: Fix PackageMaker internal versioning for OS X 10.10
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=70abf6e7 [^]
(0039603)
Xiaoming Wang   
2015-10-14 14:35   
I tested on cmake 3.3.2. It still has the wrong version 1.0
(0039604)
Brad King   
2015-10-14 15:37   
PackageMaker has long been deprecated by Apple and so is not a priority. No one is actively working on this issue. We can review a patch if anyone else wants to work on it though.
(0042794)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

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.