[cmake-developers] enable_language behavior change

Brad King brad.king at kitware.com
Thu Mar 23 13:04:32 EDT 2017


On 03/23/2017 12:08 PM, Robert Dailey wrote:
> Crystax NDK (on master branch) has a toolchain.cmake which invokes
> enable_language()

That is not something we expected to be done or intended to support.
A toolchain file should configure information about the toolchain,
not inject functionality into project CMake code.

> https://github.com/taka-no-me/android-cmake

Toolchain files were never meant to have that level of complexity.
That was only necessary due to lack of upstream CMake support
for Android, and that has now been resolved.

-Brad



More information about the cmake-developers mailing list