Skip to content

Workaround for xHost detection

Susi Lehtola requested to merge cmake_xhost into master

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.

Merge request reports