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 ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers