[CMake] CMAKE_TOOLCHAIN_FILE support, empty CMAKE_AR && CMAKE_RANLIB

Oleg Kravchenko oleg at kaa.org.ua
Tue Mar 2 16:28:52 EST 2010


вівторок 02 березень 2010 23:22:58 Alexander Neundorf ви написали:

> 
> Ok, short answer: just don't set the AR, RANLIB etc. variables in the
> toolchain file. CMakeFindBinutils.cmake should find them correctly.
> 
> Longer answer see my other mail, this is a weird behaviour of set(),
> mark_as_advanced() and find_program() used in a specific order, actually
> independent from whether this is from a toolchain file or not.
> 
> Alex
> 

Hi! Thank you! It is work! :)


More information about the CMake mailing list