enable_language-subdirectoryΒΆ
The
enable_language()command, and theproject()command that calls it, may now be used in a subdirectory to enable a language for targets in ancestor directory scopes. The language configuration is propagated up to enclosing scopes. This also lifts the restriction for calling inside ofblock()andfunction()commands. See policyCMP0220.