MantisBT - CMake
View Issue Details
0014461CMake(No Category)public2013-10-06 04:062016-06-10 14:31
Michael Forney 
Alex Neundorf 
normalminorN/A
closedmoved 
 
 
0014461: No way to specify destination directory of share/aclocal.m4
My distribution uses a prefix of /usr/${arch}/ for architecture dependent executables, libraries, and headers, and /usr/share/ remains for architecture independent files. This is mostly fine because I can pass --datadir=../share/cmake --docdir=../share/doc/cmake-${version}/ --mandir=../share/man to ./bootstrap and things get installed to the right places.

The exception is share/aclocal/cmake.m4. After looking at Utilities/CMakeFiles.txt, it seems that this file is being installed to ${prefix}/share/aclocal/, when I want it to be installed to ${prefix}/../share/aclocal/ (e.g. /usr/share/aclocal/). However, there doesn't appear to be an option I can use to get this behavior.

I'm not sure the best way to solve this issue (apart from adding a new directory option, --aclocaldir or something), but for now I can patch Utilities/CMakeFiles.txt to install cmake.m4 to ${CMAKE_DATA_DIR}/../aclocal/.
No tags attached.
child of 0014676closed Alex Neundorf cmake --find-package summary ticket 
Issue History
2013-10-06 04:06Michael ForneyNew Issue
2013-10-06 15:12Alex NeundorfAssigned To => Alex Neundorf
2013-10-06 15:12Alex NeundorfStatusnew => assigned
2014-01-01 12:22Alex NeundorfRelationship addedchild of 0014676
2014-01-01 12:23Alex NeundorfNote Added: 0034891
2014-01-01 12:23Alex NeundorfStatusassigned => backlog
2016-06-10 14:29Kitware RobotNote Added: 0042385
2016-06-10 14:29Kitware RobotStatusbacklog => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0034891)
Alex Neundorf   
2014-01-01 12:23   
I won't work on this in the near future.
(0042385)
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.