New warning arrives in version 3.30.2: project() should be called prior to this enable_language()

Your project files are doing some things they must not do:

  • The first call to project() must occur in the top level CMakeLists.txt file. That isn’t the case for you, the one in bps/CMakeLists.txt will be the first one that is reached.
  • As mentioned in my earlier reply, your toolchain file enables the ASM, C and CXX languages. They must not do that. Only project code should be enabling languages.
2 Likes