[cmake-developers] [CMake 0016076]: bin install directory configuration

Mantis Bug Tracker mantis at public.kitware.com
Fri Apr 22 10:39:46 EDT 2016


The following issue has been SUBMITTED. 
====================================================================== 
https://public.kitware.com/Bug/view.php?id=16076 
====================================================================== 
Reported By:                blackstar
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   16076
Category:                   CMakeSetup
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2016-04-22 10:39 EDT
Last Modified:              2016-04-22 10:39 EDT
====================================================================== 
Summary:                    bin install directory configuration
Description: 
It is impossible to set the CMake bin install directory with bootstrap options.
The bin install directory is always <PREFIX>/bin.
If cmake binary is moved to other location, The CMAKE_ROOT could not be find,
because the unique search directory of /Modules/CMake.cmake file is at the same
level of bin directory.

CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in

So it is impossible to have in the same install directory, several CMake binary
of different OS.
For example :
   cmake-3.5.2/bin/centos6.2/cmake
   cmake-3.5.2/bin/ubuntu14.04/cmake

Is it possible to add an option in bootstrap, like --docdir, to set the binary
install directory relative to <PREFIX> ?

Steps to Reproduce: 
do a cmake installation
move the cmake binary
run cmake
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-04-22 10:39 blackstar      New Issue                                    
======================================================================



More information about the cmake-developers mailing list