[cmake-developers] Building CMake system libraries

Brad King brad.king at kitware.com
Wed Dec 7 11:07:11 EST 2016


On 12/07/2016 11:00 AM, Chuck Atkins wrote:
> Shouldn't we  be able to accomplish the same same thing with
> just the CMAKE_USE_SYSTEM_FOO variable as a cache entry?

If you can refactor the logic for that then go for it.  Note the
`if(CMAKE_BOOTSTRAP)` blocks.  IIRC they make the bootstrap
script options apply only when configured via that script, but
then fall back to whatever the user changes after that.

-Brad



More information about the cmake-developers mailing list