On 7/30/2015 3:17 AM, Auer, Jens wrote:
Thanks a lot. Obviously, setting the environment when calling cmake
is not enough. The command scl enable devtoolset-3 "cmake ../src"
sets the path etc and runs the cmake command, but it seems that cmake
opens a new subshell with default settings. I've added the settings
to .bashrc and it now finds the correct ar/ranlib etc.
I don't believe it. CMake does not open a new shell, something else is
going on. Sounds like you have other system problems to deal with.
-Bill
--
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