Workaround for xHost detection
GCC 10 interprets the -xHost
flag as a valid -x Host
i.e. compile for the Host language flag, which of course fails but doesn't get caught as invalid by CMake. This is a workaround.
GCC 10 interprets the -xHost
flag as a valid -x Host
i.e. compile for the Host language flag, which of course fails but doesn't get caught as invalid by CMake. This is a workaround.