As discovered recently (see https://github.com/GEOS-ESM/GEOSadas/issues/106), CMake can sometimes generate -Wl linker instructions in make files. But, -Wl accepts comma-delimited lists. Thus, if an install or build directory has a comma in its path, this causes an error during the build step.
So, this PR adds code to prevent users of GEOS from using either a build directory or an install directory with a comma in its path.
As discovered recently (see https://github.com/GEOS-ESM/GEOSadas/issues/106), CMake can sometimes generate
-Wl
linker instructions in make files. But,-Wl
accepts comma-delimited lists. Thus, if an install or build directory has a comma in its path, this causes an error during the build step.So, this PR adds code to prevent users of GEOS from using either a build directory or an install directory with a comma in its path.