A Code Monkey's Blog

[CMake] Cannot determine link language for target?

For whatever reason add

SET_TARGET_PROPERTIES(XYZ PROPERTIES LINKER_LANGUAGE C)