2012/7/21 Claus Klein <[email protected]>: > Hi Eric, > > would it be possible to change the CMakeFindBinUtils.cmake like my patch? > With this this changes it works fine and it is faster too.
Alex is in charge of the bug you filed and has more knowledge than me w.r.t. cross-compiling support in CMake so I'd rather let him examine your patch. > But I do not understand, why the second times, FIND_PROGRAM() fails? I don't think it fails "the second time" the problem should be that "_CMAKE_TOOLCHAIN_LOCATION" may not be set the first time CMakeFindBinUtils.cmake is loaded. > I have uploaded a log file to > http://public.kitware.com/Bug/view.php?id=13379) which shows what happens > without this patch. Ok then you did all good, Alex will pick it up. -- Erk Le gouvernement représentatif n'est pas la démocratie -- http://www.le-message.org -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
