[CMake] CMake finds wrong ar/ranlib/nm
Bill Hoffman
bill.hoffman at kitware.com
Thu Jul 30 09:26:31 EDT 2015
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
More information about the CMake
mailing list