New 3.13-rc1 genex support in install(CODE|SCRIPT) may break legacy script code
Given the following contrived example
cmake_minimum_required(VERSION 3.11) project(Foo NONE) install(CODE [[ message("$<FOOBAR>") ]])
This will configure without error in e.g 3.11 but starting with 3.13-rc1 it will produce the following error:
CMake Error: Error evaluating generator expression: $<FOOBAR> Expression did not evaluate to a known generator expression
This probably isn't too difficult to work around in existing code and may even be rare but may warrant a policy?