export(PACKAGE <PackageName>) does not accept the '+' character
Hi, I have a CMake project that contains "++" in its name (not in my power to change it). The +s do not pose an issue when generating the target import file, the package configuration file and the package version files, but the export(PACKAGE "myproj++") returns the following error:
export PACKAGE given invalid package name "myproj++". Package names must match "^[A-Za-z0-9_.-]+$".
I don't know if accepting the '+' in the package registry would be feasible, but I'd expect the set of valid characters for package names to be consistent through all the commands.