On 10/08/2015 11:06 AM, Marsel Galimullin wrote: > The idea is that CMake has possibility to contact with package managers > for download necessary libraries. > If “find_package” can’t find a library, it need to call apt-get install. > Example: > auto_downland(apt-get) > find_package (Boost COMPONENTS system thread REQUIRED)
This does not provide enough information to know what package to install. This problem is not in scope for a build system. Another tool should be used to install dependencies ahead of time before running CMake. The source tree could come with some kind of dependency spec file for such a tool to use but this would be independent of the build system. -Brad -- 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