enable_language-subdirectoryΒΆ

  • The enable_language() command, and the project() 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 of block() and function() commands. See policy CMP0220.