There seems to be a number of references online to a variable named CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT which is recommended for checking if CMAKE_INSTALL_PREFIX has been overridden or not. This variable is not mentioned in CMake's documentation, but some of those online references claim it was recommended by CMake devs to use this variable. Is it formally supported? If so, can documentation be added for it so that users can have confidence that they are using a supported feature? Even just something very simple would be enough to meet that need.
Some example references to this: http://public.kitware.com/pipermail/cmake/2010-December/041135.html http://stackoverflow.com/a/16076855/1938798 -- Craig Scott Melbourne, Australia https://crascit.com
-- 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