In your cmakelists.txt search for cmake_minumum_required and replace the version with the version of cmake that you have installed. You might be lucky and your program compiles.
P.S.: Please do not leave empty the subject of your e-mail... Am 31.01.2018 18:29 schrieb "kartikay gupta" <kartikay000555...@gmail.com>: > Hi > > I want to install cmake 3.10 to my institute high performace computing > without root access, in local directory. I am able to install it, but still > when I call the command 'cmake .. -DUSE_CUDA=ON' , it asks to upgrade cmake > to atleast 3.5. > What should be done to load cmake 3.10? > > > > -- > > 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: > https://cmake.org/mailman/listinfo/cmake > >
-- 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: https://cmake.org/mailman/listinfo/cmake